From: Daniel Borkmann Date: Tue, 16 Apr 2013 11:07:16 +0000 (+0000) Subject: net: sctp: sctp_bind_addr: remove dead code X-Git-Tag: omap-for-v3.10/dt-fixes-for-merge-window~65^2~97 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=50181c07cbde370986c4925b830ca291a2fc31ab;p=pandora-kernel.git net: sctp: sctp_bind_addr: remove dead code The sctp_bind_addr structure has a 'malloced' member that is always set to 0, thus in sctp_bind_addr_free() the kfree() part can never be called. This part is embedded into sctp_ep_common anyway and never alloced. Signed-off-by: Daniel Borkmann Acked-by: Neil Horman Signed-off-by: David S. Miller --- Reading git-diff-tree failed