From e47726683803616c773bc75c88cfb3eb54a8172b Mon Sep 17 00:00:00 2001 From: wangweidong Date: Wed, 11 Dec 2013 16:42:14 +0800 Subject: [PATCH] sctp: remove redundant null check on asoc In sctp_err_lookup, goto out while the asoc is not NULL, so remove the check NULL. Also, in sctp_err_finish which called by sctp_v4_err and sctp_v6_err, they pass asoc to sctp_err_finish while the asoc is not NULL, so remove the check. Signed-off-by: Wang Weidong Acked-by: Neil Horman Acked-by: Vlad Yasevich Signed-off-by: David S. Miller --- Reading git-format-patch failed