aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp
diff options
context:
space:
mode:
authorwangweidong <wangweidong1@huawei.com>2014-01-16 03:25:19 -0500
committerDavid S. Miller <davem@davemloft.net>2014-01-16 20:31:49 -0500
commitabfce3ef58b6a6c95de389f9d20047a05b10e484 (patch)
treeff3dddbd84bc16c1811aa29f96eeab181dc34fe3 /net/sctp
parentbe121f46affce8a2ba284ef0388a8ff6ff85ec1b (diff)
sctp: remove the unnecessary assignment
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 <wangweidong1@huawei.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
-rw-r--r--net/sctp/protocol.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sctp/protocol.c b/net/sctp/protocol.c
index 7c161084f241..d6934dc8dcb6 100644
--- a/net/sctp/protocol.c
+++ b/net/sctp/protocol.c
@@ -1461,7 +1461,6 @@ static __init int sctp_init(void)
1461 if (status) 1461 if (status)
1462 goto err_v6_add_protocol; 1462 goto err_v6_add_protocol;
1463 1463
1464 status = 0;
1465out: 1464out:
1466 return status; 1465 return status;
1467err_v6_add_protocol: 1466err_v6_add_protocol: