Skip to content

Commit

Permalink
connector: remove duplicated code in cn_call_callback()
Browse files Browse the repository at this point in the history
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 <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
  • Loading branch information
khoroshilov authored and davem330 committed Mar 3, 2014
1 parent a811f2c commit 0869281
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/connector/connector.c
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,6 @@ static int cn_call_callback(struct sk_buff *skb)
spin_unlock_bh(&dev->cbdev->queue_lock);

if (cbq != NULL) {
err = 0;
cbq->callback(msg, nsp);
kfree_skb(skb);
cn_queue_release_callback(cbq);
Expand Down

0 comments on commit 0869281

Please sign in to comment.