mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 14:48:06 +00:00
connector: remove duplicated code in cn_call_callback()
There were a couple of patches fixing the same bug that results in duplicated err = 0; assignment. The patch removes one of them. Signed-off-by: Alexey Khoroshilov <khoroshilov@ispras.ru> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a811f2c038
commit
086928179c
1 changed files with 0 additions and 1 deletions
|
@ -139,7 +139,6 @@ static int cn_call_callback(struct sk_buff *skb)
|
||||||
spin_unlock_bh(&dev->cbdev->queue_lock);
|
spin_unlock_bh(&dev->cbdev->queue_lock);
|
||||||
|
|
||||||
if (cbq != NULL) {
|
if (cbq != NULL) {
|
||||||
err = 0;
|
|
||||||
cbq->callback(msg, nsp);
|
cbq->callback(msg, nsp);
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
cn_queue_release_callback(cbq);
|
cn_queue_release_callback(cbq);
|
||||||
|
|
Loading…
Add table
Reference in a new issue