mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-10 07:50:04 +00:00
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>
This commit is contained in:
parent
be121f46af
commit
abfce3ef58
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user