Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit abfce3ef authored by wangweidong's avatar wangweidong Committed by David S. Miller
Browse files

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: default avatarWang Weidong <wangweidong1@huawei.com>
Acked-by: default avatarNeil Horman <nhorman@tuxdriver.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent be121f46
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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: