OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a811f2c
)
connector: remove duplicated code in cn_call_callback()
author
Alexey Khoroshilov
<khoroshilov@ispras.ru>
Sat, 1 Mar 2014 20:00:56 +0000
(
00:00
+0400)
committer
David S. Miller
<davem@davemloft.net>
Mon, 3 Mar 2014 20:39:20 +0000
(15:39 -0500)
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>
drivers/connector/connector.c
patch
|
blob
|
history
diff --git
a/drivers/connector/connector.c
b/drivers/connector/connector.c
index
a36749f
..
9b0ea0a
100644
(file)
--- a/
drivers/connector/connector.c
+++ b/
drivers/connector/connector.c
@@
-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);