net: sctp: sctp_bind_addr: remove dead code
authorDaniel Borkmann <dborkman@redhat.com>
Tue, 16 Apr 2013 11:07:16 +0000 (11:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Apr 2013 18:13:02 +0000 (14:13 -0400)
commit50181c07cbde370986c4925b830ca291a2fc31ab
tree1dcd5c4336ac3ed4c2a2817c4d5cb75c822d6d5f
parent8fa5df6d210a09241876b74d156c57d833dd057b
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 <dborkman@redhat.com>
Acked-by: Neil Horman <nhorman@tuxdriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/sctp/structs.h
net/sctp/bind_addr.c