Commit 8fa5df6d210a09241876b74d156c57d833dd057b
Committed by
David S. Miller
1 parent
dacda32ee6
net: sctp: sctp_transport: remove unused variable
sctp_transport's member 'malloced' is set to 1, never evaluated and the structure is kfreed anyway. So just remove it. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Showing 2 changed files with 1 additions and 5 deletions Side-by-side Diff
include/net/sctp/structs.h
... | ... | @@ -779,10 +779,7 @@ |
779 | 779 | hb_sent:1, |
780 | 780 | |
781 | 781 | /* Is the Path MTU update pending on this tranport */ |
782 | - pmtu_pending:1, | |
783 | - | |
784 | - /* Is this structure kfree()able? */ | |
785 | - malloced:1; | |
782 | + pmtu_pending:1; | |
786 | 783 | |
787 | 784 | /* Has this transport moved the ctsn since we last sacked */ |
788 | 785 | __u32 sack_generation; |