diff options
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index c30e0fe55a31..d9a76260880b 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c | |||
@@ -3844,7 +3844,7 @@ static int ql_adapter_reset(struct ql_adapter *qdev) | |||
3844 | 3844 | ||
3845 | static void ql_display_dev_info(struct net_device *ndev) | 3845 | static void ql_display_dev_info(struct net_device *ndev) |
3846 | { | 3846 | { |
3847 | struct ql_adapter *qdev = (struct ql_adapter *)netdev_priv(ndev); | 3847 | struct ql_adapter *qdev = netdev_priv(ndev); |
3848 | 3848 | ||
3849 | netif_info(qdev, probe, qdev->ndev, | 3849 | netif_info(qdev, probe, qdev->ndev, |
3850 | "Function #%d, Port %d, NIC Roll %d, NIC Rev = %d, " | 3850 | "Function #%d, Port %d, NIC Roll %d, NIC Rev = %d, " |
@@ -4264,7 +4264,7 @@ static struct net_device_stats *qlge_get_stats(struct net_device | |||
4264 | 4264 | ||
4265 | static void qlge_set_multicast_list(struct net_device *ndev) | 4265 | static void qlge_set_multicast_list(struct net_device *ndev) |
4266 | { | 4266 | { |
4267 | struct ql_adapter *qdev = (struct ql_adapter *)netdev_priv(ndev); | 4267 | struct ql_adapter *qdev = netdev_priv(ndev); |
4268 | struct netdev_hw_addr *ha; | 4268 | struct netdev_hw_addr *ha; |
4269 | int i, status; | 4269 | int i, status; |
4270 | 4270 | ||
@@ -4354,7 +4354,7 @@ exit: | |||
4354 | 4354 | ||
4355 | static int qlge_set_mac_address(struct net_device *ndev, void *p) | 4355 | static int qlge_set_mac_address(struct net_device *ndev, void *p) |
4356 | { | 4356 | { |
4357 | struct ql_adapter *qdev = (struct ql_adapter *)netdev_priv(ndev); | 4357 | struct ql_adapter *qdev = netdev_priv(ndev); |
4358 | struct sockaddr *addr = p; | 4358 | struct sockaddr *addr = p; |
4359 | int status; | 4359 | int status; |
4360 | 4360 | ||
@@ -4377,7 +4377,7 @@ static int qlge_set_mac_address(struct net_device *ndev, void *p) | |||
4377 | 4377 | ||
4378 | static void qlge_tx_timeout(struct net_device *ndev) | 4378 | static void qlge_tx_timeout(struct net_device *ndev) |
4379 | { | 4379 | { |
4380 | struct ql_adapter *qdev = (struct ql_adapter *)netdev_priv(ndev); | 4380 | struct ql_adapter *qdev = netdev_priv(ndev); |
4381 | ql_queue_asic_error(qdev); | 4381 | ql_queue_asic_error(qdev); |
4382 | } | 4382 | } |
4383 | 4383 | ||