summaryrefslogtreecommitdiffstats
path: root/drivers/s390
diff options
context:
space:
mode:
authorUrsula Braun <braunu@de.ibm.com>2008-04-24 10:15:19 +0200
committerJeff Garzik <jgarzik@redhat.com>2008-04-29 07:56:28 +0200
commit8bbf84404b02f193c5422c252264d7b82ffe4443 (patch)
treef3fbe3cdcb3c8bda1beb71d665c9e9c57ab8e1dd /drivers/s390
parentlcs: CCL-sequ. numbers required for protocol 802.2 only. (diff)
downloadlinux-8bbf84404b02f193c5422c252264d7b82ffe4443.tar.xz
linux-8bbf84404b02f193c5422c252264d7b82ffe4443.zip
netiucv: get rid of in_atomic() use
There is no urgent need to restart a netiucv connection automatically, if packets are sent while the netiucv device is not up and running. Signed-off-by: Ursula Braun <braunu@de.ibm.com> Signed-off-by: Frank Blaschka <frank.blaschka@de.ibm.com> Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
Diffstat (limited to 'drivers/s390')
-rw-r--r--drivers/s390/net/netiucv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/s390/net/netiucv.c b/drivers/s390/net/netiucv.c
index 8f876f6ab367..0fb780e35fa8 100644
--- a/drivers/s390/net/netiucv.c
+++ b/drivers/s390/net/netiucv.c
@@ -1313,8 +1313,6 @@ static int netiucv_tx(struct sk_buff *skb, struct net_device *dev)
* and throw away packet.
*/
if (fsm_getstate(privptr->fsm) != DEV_STATE_RUNNING) {
- if (!in_atomic())
- fsm_event(privptr->fsm, DEV_EVENT_START, dev);
dev_kfree_skb(skb);
privptr->stats.tx_dropped++;
privptr->stats.tx_errors++;