diff options
author | Jan Kiszka <jan.kiszka@web.de> | 2010-02-08 05:12:35 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-16 19:01:31 -0500 |
commit | b75b2eedcbf6458c68713c772c2ade83ab7a55f0 (patch) | |
tree | 0381ba615c0d1b1178df7c1324c8067c10b26834 | |
parent | a84fdf41b25ad4c2b83e7c8ca87268fdbe6207d1 (diff) |
CAPI: Drop handle_minor_recv from capinc_tty_write
Sending a message down the CAPI stack may trigger the reception of an
answer, but this will go through capi_recv_message and call
handle_minor_recv from there. There is no need to walk the receive queue
on capinc_tty_write.
Signed-off-by: Jan Kiszka <jan.kiszka@web.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
-rw-r--r-- | drivers/isdn/capi/capi.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/isdn/capi/capi.c b/drivers/isdn/capi/capi.c index 867589a5916a..554fa1b36d13 100644 --- a/drivers/isdn/capi/capi.c +++ b/drivers/isdn/capi/capi.c | |||
@@ -1104,7 +1104,6 @@ static int capinc_tty_write(struct tty_struct *tty, | |||
1104 | skb_queue_tail(&mp->outqueue, skb); | 1104 | skb_queue_tail(&mp->outqueue, skb); |
1105 | mp->outbytes += skb->len; | 1105 | mp->outbytes += skb->len; |
1106 | (void)handle_minor_send(mp); | 1106 | (void)handle_minor_send(mp); |
1107 | (void)handle_minor_recv(mp); | ||
1108 | spin_unlock_irqrestore(&workaround_lock, flags); | 1107 | spin_unlock_irqrestore(&workaround_lock, flags); |
1109 | return count; | 1108 | return count; |
1110 | } | 1109 | } |