diff options
author | sjur.brandeland@stericsson.com <sjur.brandeland@stericsson.com> | 2012-04-12 04:27:26 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2012-04-13 11:37:36 -0400 |
commit | 2df1fe7f1006f3c1d9ecbe9311701833c63c14cc (patch) | |
tree | ce8df9129116d827a93b82591542f8f295f2db3c /drivers/net/caif | |
parent | ece367d53a5bf46cc357163c7074a6546a0ec01c (diff) |
caif-hsi: Remove stop/start of queue.
CAIF HSI is currently a virtual device. Stopping/starting the
queues is wrong on a virtual device.
Signed-off-by: Sjur Brændeland <sjur.brandeland@stericsson.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/caif')
-rw-r--r-- | drivers/net/caif/caif_hsi.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/caif/caif_hsi.c b/drivers/net/caif/caif_hsi.c index 9849a238d54a..42539919db17 100644 --- a/drivers/net/caif/caif_hsi.c +++ b/drivers/net/caif/caif_hsi.c | |||
@@ -1129,15 +1129,11 @@ static int cfhsi_xmit(struct sk_buff *skb, struct net_device *dev) | |||
1129 | 1129 | ||
1130 | static int cfhsi_open(struct net_device *dev) | 1130 | static int cfhsi_open(struct net_device *dev) |
1131 | { | 1131 | { |
1132 | netif_wake_queue(dev); | ||
1133 | |||
1134 | return 0; | 1132 | return 0; |
1135 | } | 1133 | } |
1136 | 1134 | ||
1137 | static int cfhsi_close(struct net_device *dev) | 1135 | static int cfhsi_close(struct net_device *dev) |
1138 | { | 1136 | { |
1139 | netif_stop_queue(dev); | ||
1140 | |||
1141 | return 0; | 1137 | return 0; |
1142 | } | 1138 | } |
1143 | 1139 | ||
@@ -1319,9 +1315,6 @@ int cfhsi_probe(struct platform_device *pdev) | |||
1319 | __func__, res); | 1315 | __func__, res); |
1320 | goto err_net_reg; | 1316 | goto err_net_reg; |
1321 | } | 1317 | } |
1322 | |||
1323 | netif_stop_queue(ndev); | ||
1324 | |||
1325 | return res; | 1318 | return res; |
1326 | 1319 | ||
1327 | err_net_reg: | 1320 | err_net_reg: |
@@ -1344,9 +1337,6 @@ static void cfhsi_shutdown(struct cfhsi *cfhsi) | |||
1344 | { | 1337 | { |
1345 | u8 *tx_buf, *rx_buf, *flip_buf; | 1338 | u8 *tx_buf, *rx_buf, *flip_buf; |
1346 | 1339 | ||
1347 | /* Stop TXing */ | ||
1348 | netif_tx_stop_all_queues(cfhsi->ndev); | ||
1349 | |||
1350 | /* going to shutdown driver */ | 1340 | /* going to shutdown driver */ |
1351 | set_bit(CFHSI_SHUTDOWN, &cfhsi->bits); | 1341 | set_bit(CFHSI_SHUTDOWN, &cfhsi->bits); |
1352 | 1342 | ||