Remove useless SET_MODULE_OWNER calls.
Subsystems (2)
--
net/netrom/nr_dev.c | 1 - net/rose/rose_dev.c | 1 - 2 files changed, 2 deletions(-)
net/netrom/nr_dev.c +0 -1
@@ -185,7 +185,6 @@ static struct net_device_stats *nr_get_svoid 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;
net/rose/rose_dev.c +0 -1
@@ -135,7 +135,6 @@ static struct net_device_stats *rose_getvoid 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;
Quoted 13 lines · On Sat, 2006-04-29 at 15:29 +0100, Ralf Baechle DL5RB wrote:
Signed-off-by Ralf Baechle <[email protected]>--
net/netrom/nr_dev.c | 1 - net/rose/rose_dev.c | 1 - 2 files changed, 2 deletions(-)Index:
linux-net.git/net/netrom/nr_dev.c
===================================================================
net/netrom/nr_dev.c static struct net_device_stats *nr_get_s · line 190
Quoted 7 lines
net/netrom/nr_dev.c +0
-1@@ -185,7 +185,6 @@ static struct net_device_stats *nr_get_svoid 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;
Are these done by anything else now? Did something change to make SET_MODULE_OWNER useless in individual drivers? I'm asking because I was fairly sure that SET_MODULE_OWNER set up some sysfs links and such that HAL depends on to figure out information about the driver and hardware device, much like SET_NETDEV_DEV.
Dan
�
Quoted 7 lines · Herbert Xu
Quoted 3 lines · Dan Williams
Are these done by anything else now? Did something change to make
SET_MODULE_OWNERuseless in individual drivers? I'm asking because I
SET_MODULE_OWNERhas been a no-op ever since Dave made live network device driver modules unloadable nearly three years ago.
Ah, thanks for the clarification.
dan
From: Ralf Baechle DL5RB <[email protected]>
Date: Sat, 29 Apr 2006 15:29:43 +0100
Quoted 1 line
Signed-off-by Ralf Baechle <[email protected]>
Applied, thanks.