aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/appletalk
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/appletalk')
-rw-r--r--drivers/net/appletalk/cops.c2
-rw-r--r--drivers/net/appletalk/ipddp.c1
-rw-r--r--drivers/net/appletalk/ltpc.c2
3 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/appletalk/cops.c b/drivers/net/appletalk/cops.c
index da6ffa8cd81e..c4b560d42a67 100644
--- a/drivers/net/appletalk/cops.c
+++ b/drivers/net/appletalk/cops.c
@@ -235,8 +235,6 @@ struct net_device * __init cops_probe(int unit)
235 base_addr = dev->base_addr = io; 235 base_addr = dev->base_addr = io;
236 } 236 }
237 237
238 SET_MODULE_OWNER(dev);
239
240 if (base_addr > 0x1ff) { /* Check a single specified location. */ 238 if (base_addr > 0x1ff) { /* Check a single specified location. */
241 err = cops_probe1(dev, base_addr); 239 err = cops_probe1(dev, base_addr);
242 } else if (base_addr != 0) { /* Don't probe at all. */ 240 } else if (base_addr != 0) { /* Don't probe at all. */
diff --git a/drivers/net/appletalk/ipddp.c b/drivers/net/appletalk/ipddp.c
index f22e46dfd770..56cb96794026 100644
--- a/drivers/net/appletalk/ipddp.c
+++ b/drivers/net/appletalk/ipddp.c
@@ -65,7 +65,6 @@ static struct net_device * __init ipddp_init(void)
65 if (!dev) 65 if (!dev)
66 return ERR_PTR(-ENOMEM); 66 return ERR_PTR(-ENOMEM);
67 67
68 SET_MODULE_OWNER(dev);
69 strcpy(dev->name, "ipddp%d"); 68 strcpy(dev->name, "ipddp%d");
70 69
71 if (version_printed++ == 0) 70 if (version_printed++ == 0)
diff --git a/drivers/net/appletalk/ltpc.c b/drivers/net/appletalk/ltpc.c
index 6a6cbd331a16..cb4744e56905 100644
--- a/drivers/net/appletalk/ltpc.c
+++ b/drivers/net/appletalk/ltpc.c
@@ -1046,8 +1046,6 @@ struct net_device * __init ltpc_probe(void)
1046 if (!dev) 1046 if (!dev)
1047 goto out; 1047 goto out;
1048 1048
1049 SET_MODULE_OWNER(dev);
1050
1051 /* probe for the I/O port address */ 1049 /* probe for the I/O port address */
1052 1050
1053 if (io != 0x240 && request_region(0x220,8,"ltpc")) { 1051 if (io != 0x240 && request_region(0x220,8,"ltpc")) {