diff options
Diffstat (limited to 'drivers/infiniband')
-rw-r--r-- | drivers/infiniband/hw/amso1100/c2.c | 1 | ||||
-rw-r--r-- | drivers/infiniband/hw/amso1100/c2_provider.c | 1 | ||||
-rw-r--r-- | drivers/infiniband/ulp/ipoib/ipoib_main.c | 2 |
3 files changed, 0 insertions, 4 deletions
diff --git a/drivers/infiniband/hw/amso1100/c2.c b/drivers/infiniband/hw/amso1100/c2.c index 0aecea67f3e6..f283a9f0c23b 100644 --- a/drivers/infiniband/hw/amso1100/c2.c +++ b/drivers/infiniband/hw/amso1100/c2.c | |||
@@ -886,7 +886,6 @@ static struct net_device *c2_devinit(struct c2_dev *c2dev, | |||
886 | return NULL; | 886 | return NULL; |
887 | } | 887 | } |
888 | 888 | ||
889 | SET_MODULE_OWNER(netdev); | ||
890 | SET_NETDEV_DEV(netdev, &c2dev->pcidev->dev); | 889 | SET_NETDEV_DEV(netdev, &c2dev->pcidev->dev); |
891 | 890 | ||
892 | netdev->open = c2_up; | 891 | netdev->open = c2_up; |
diff --git a/drivers/infiniband/hw/amso1100/c2_provider.c b/drivers/infiniband/hw/amso1100/c2_provider.c index 997cf1530762..7a6cece6ea9d 100644 --- a/drivers/infiniband/hw/amso1100/c2_provider.c +++ b/drivers/infiniband/hw/amso1100/c2_provider.c | |||
@@ -715,7 +715,6 @@ static int c2_pseudo_change_mtu(struct net_device *netdev, int new_mtu) | |||
715 | 715 | ||
716 | static void setup(struct net_device *netdev) | 716 | static void setup(struct net_device *netdev) |
717 | { | 717 | { |
718 | SET_MODULE_OWNER(netdev); | ||
719 | netdev->open = c2_pseudo_up; | 718 | netdev->open = c2_pseudo_up; |
720 | netdev->stop = c2_pseudo_down; | 719 | netdev->stop = c2_pseudo_down; |
721 | netdev->hard_start_xmit = c2_pseudo_xmit_frame; | 720 | netdev->hard_start_xmit = c2_pseudo_xmit_frame; |
diff --git a/drivers/infiniband/ulp/ipoib/ipoib_main.c b/drivers/infiniband/ulp/ipoib/ipoib_main.c index a59ff07ec3cd..b1c3d6cd8eba 100644 --- a/drivers/infiniband/ulp/ipoib/ipoib_main.c +++ b/drivers/infiniband/ulp/ipoib/ipoib_main.c | |||
@@ -978,8 +978,6 @@ static void ipoib_setup(struct net_device *dev) | |||
978 | 978 | ||
979 | netif_carrier_off(dev); | 979 | netif_carrier_off(dev); |
980 | 980 | ||
981 | SET_MODULE_OWNER(dev); | ||
982 | |||
983 | priv->dev = dev; | 981 | priv->dev = dev; |
984 | 982 | ||
985 | spin_lock_init(&priv->lock); | 983 | spin_lock_init(&priv->lock); |