diff options
Diffstat (limited to 'drivers/net/dgrs.c')
-rw-r--r-- | drivers/net/dgrs.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/dgrs.c b/drivers/net/dgrs.c index df62c0232f36..ddedb76303d5 100644 --- a/drivers/net/dgrs.c +++ b/drivers/net/dgrs.c | |||
@@ -1272,7 +1272,6 @@ dgrs_found_device( | |||
1272 | priv->chan = 1; | 1272 | priv->chan = 1; |
1273 | priv->devtbl[0] = dev; | 1273 | priv->devtbl[0] = dev; |
1274 | 1274 | ||
1275 | SET_MODULE_OWNER(dev); | ||
1276 | SET_NETDEV_DEV(dev, pdev); | 1275 | SET_NETDEV_DEV(dev, pdev); |
1277 | 1276 | ||
1278 | ret = dgrs_probe1(dev); | 1277 | ret = dgrs_probe1(dev); |
@@ -1320,7 +1319,6 @@ dgrs_found_device( | |||
1320 | if (ret) | 1319 | if (ret) |
1321 | goto fail; | 1320 | goto fail; |
1322 | 1321 | ||
1323 | SET_MODULE_OWNER(devN); | ||
1324 | SET_NETDEV_DEV(dev, pdev); | 1322 | SET_NETDEV_DEV(dev, pdev); |
1325 | 1323 | ||
1326 | ret = register_netdev(devN); | 1324 | ret = register_netdev(devN); |