diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-04-18 21:59:37 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-22 16:25:21 -0400 |
commit | 3e3251b3f289528732edab386ddf73ac428359b7 (patch) | |
tree | 907f8cdc34e5fe5d71d73c849c4c0b4badd62523 /arch | |
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>
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions