aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ibmveth.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ibmveth.c')
-rw-r--r--drivers/net/ibmveth.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/ibmveth.c b/drivers/net/ibmveth.c
index 2dff9f2800cd..db908c40dbe1 100644
--- a/drivers/net/ibmveth.c
+++ b/drivers/net/ibmveth.c
@@ -1142,8 +1142,6 @@ static int __devinit ibmveth_probe(struct vio_dev *dev, const struct vio_device_
1142 if(!netdev) 1142 if(!netdev)
1143 return -ENOMEM; 1143 return -ENOMEM;
1144 1144
1145 SET_MODULE_OWNER(netdev);
1146
1147 adapter = netdev->priv; 1145 adapter = netdev->priv;
1148 dev->dev.driver_data = netdev; 1146 dev->dev.driver_data = netdev;
1149 1147
@@ -1258,7 +1256,6 @@ static void ibmveth_proc_register_driver(void)
1258{ 1256{
1259 ibmveth_proc_dir = proc_mkdir(IBMVETH_PROC_DIR, init_net.proc_net); 1257 ibmveth_proc_dir = proc_mkdir(IBMVETH_PROC_DIR, init_net.proc_net);
1260 if (ibmveth_proc_dir) { 1258 if (ibmveth_proc_dir) {
1261 SET_MODULE_OWNER(ibmveth_proc_dir);
1262 } 1259 }
1263} 1260}
1264 1261
@@ -1356,7 +1353,6 @@ static void ibmveth_proc_register_adapter(struct ibmveth_adapter *adapter)
1356 } else { 1353 } else {
1357 entry->data = (void *) adapter; 1354 entry->data = (void *) adapter;
1358 entry->proc_fops = &ibmveth_proc_fops; 1355 entry->proc_fops = &ibmveth_proc_fops;
1359 SET_MODULE_OWNER(entry);
1360 } 1356 }
1361 } 1357 }
1362 return; 1358 return;