mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
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 <[email protected]> Acked-by: Neil Horman <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
dacda32ee6
commit
8fa5df6d21
2 changed files with 1 additions and 5 deletions
|
|
@ -123,7 +123,6 @@ struct sctp_transport *sctp_transport_new(struct net *net,
|
|||
if (!sctp_transport_init(net, transport, addr, gfp))
|
||||
goto fail_init;
|
||||
|
||||
transport->malloced = 1;
|
||||
SCTP_DBG_OBJCNT_INC(transport);
|
||||
|
||||
return transport;
|
||||
|
|
|
|||
Loading…
Reference in a new issue