Skip to content

Commit

Permalink
sctp: remove the unnecessary assignment
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
wangweidong authored and David S. Miller committed Jan 17, 2014
1 parent be121f4 commit abfce3e
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion net/sctp/protocol.c
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit abfce3e

Please sign in to comment.