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>
This commit is contained in:

committed by
David S. Miller

parent
dacda32ee6
commit
8fa5df6d21
@@ -779,10 +779,7 @@ struct sctp_transport {
|
||||
hb_sent:1,
|
||||
|
||||
/* Is the Path MTU update pending on this tranport */
|
||||
pmtu_pending:1,
|
||||
|
||||
/* Is this structure kfree()able? */
|
||||
malloced:1;
|
||||
pmtu_pending:1;
|
||||
|
||||
/* Has this transport moved the ctsn since we last sacked */
|
||||
__u32 sack_generation;
|
||||
|
Reference in New Issue
Block a user