]> err.no Git - linux-2.6/commitdiff
[AX25, ROSE]: Remove useless SET_MODULE_OWNER calls.
authorRalf Baechle <ralf@linux-mips.org>
Thu, 4 May 2006 06:23:48 +0000 (23:23 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 4 May 2006 06:23:48 +0000 (23:23 -0700)
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/netrom/nr_dev.c
net/rose/rose_dev.c

index 509afddae5694a4aae228127c2e379f618bdd40a..621e5586ab030c93d2f30aea69b39c4d8624b70c 100644 (file)
@@ -185,7 +185,6 @@ static struct net_device_stats *nr_get_stats(struct net_device *dev)
 
 void nr_setup(struct net_device *dev)
 {
-       SET_MODULE_OWNER(dev);
        dev->mtu                = NR_MAX_PACKET_SIZE;
        dev->hard_start_xmit    = nr_xmit;
        dev->open               = nr_open;
index d297af737d1023a41c88f028a8628d91e52bc3eb..2a1bf8e119e52c4c45904bd8a47bd4d132195081 100644 (file)
@@ -135,7 +135,6 @@ static struct net_device_stats *rose_get_stats(struct net_device *dev)
 
 void rose_setup(struct net_device *dev)
 {
-       SET_MODULE_OWNER(dev);
        dev->mtu                = ROSE_MAX_PACKET_SIZE - 2;
        dev->hard_start_xmit    = rose_xmit;
        dev->open               = rose_open;