From: wangweidong Date: Thu, 16 Jan 2014 08:25:19 +0000 (+0800) Subject: sctp: remove the unnecessary assignment X-Git-Url: http://drtracing.org/?a=commitdiff_plain;h=abfce3ef58b6a6c95de389f9d20047a05b10e484;p=deliverable%2Flinux.git 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 Acked-by: Neil Horman Signed-off-by: David S. Miller --- 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) if (status) goto err_v6_add_protocol; - status = 0; out: return status; err_v6_add_protocol: