diff options
Diffstat (limited to 'drivers/infiniband/hw/amso1100')
-rw-r--r-- | drivers/infiniband/hw/amso1100/c2.c | 1 | ||||
-rw-r--r-- | drivers/infiniband/hw/amso1100/c2_provider.c | 1 |
2 files changed, 0 insertions, 2 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; |