summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-04-16 13:07:15 +0200
committerDavid S. Miller <davem@davemloft.net>2013-04-17 20:13:02 +0200
commit8fa5df6d210a09241876b74d156c57d833dd057b (patch)
tree513f3b01e635eda9258ecfb3e6081680033a9a38 /include
parentnet: sctp: outqueue: simplify sctp_outq_uncork function (diff)
downloadlinux-8fa5df6d210a09241876b74d156c57d833dd057b.tar.xz
linux-8fa5df6d210a09241876b74d156c57d833dd057b.zip
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>
Diffstat (limited to 'include')
-rw-r--r--include/net/sctp/structs.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h
index 73fd5de4d4cc..d581af00120b 100644
--- a/include/net/sctp/structs.h
+++ b/include/net/sctp/structs.h
@@ -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;