commit | 3e3251b3f289528732edab386ddf73ac428359b7 | [log] [tgz] |
---|---|---|
author | Daniel Borkmann <dborkman@redhat.com> | Thu Apr 18 21:59:37 2013 +0000 |
committer | David S. Miller <davem@davemloft.net> | Mon Apr 22 16:25:21 2013 -0400 |
tree | 907f8cdc34e5fe5d71d73c849c4c0b4badd62523 | |
parent | ae8840825605f36f98f247323edc150e761cb64e [diff] |
net: sctp: minor: remove dead code from sctp_packet struct sctp_packet is currently embedded into sctp_transport or sits on the stack as 'singleton' in sctp_outq_flush(). Therefore, its member 'malloced' is always 0, thus a kfree() is never called. Because of that, we can just remove this code. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Signed-off-by: David S. Miller <davem@davemloft.net>