projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
be121f4
)
sctp: remove the unnecessary assignment
author
wangweidong
<
[email protected]
>
Thu, 16 Jan 2014 08:25:19 +0000
(16:25 +0800)
committer
David S. Miller
<
[email protected]
>
Fri, 17 Jan 2014 01:31:49 +0000
(17:31 -0800)
When go the right path, the status is 0, no need to assign it again.
So just remove the assignment.
Signed-off-by: Wang Weidong <
[email protected]
>
Acked-by: Neil Horman <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/sctp/protocol.c
patch
|
blob
|
history
diff --git
a/net/sctp/protocol.c
b/net/sctp/protocol.c
index 7c161084f2414b61abbf10a35937d15e460d9f66..d6934dc8dcb64ee55d361adbe87d13b391ffe4c9 100644
(file)
--- a/
net/sctp/protocol.c
+++ b/
net/sctp/protocol.c
@@
-1461,7
+1461,6
@@
static __init int sctp_init(void)
if (status)
goto err_v6_add_protocol;
- status = 0;
out:
return status;
err_v6_add_protocol: