diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-04-16 13:07:12 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-17 20:13:02 +0200 |
commit | 165a4c31278c980862b2c2ddec408cf30341f3ec (patch) | |
tree | 556c9b4284952643f7f184088c9fe997ccc37eda /include/net/sctp | |
parent | net: sctp: sctp_inq: remove dead code (diff) | |
download | linux-165a4c31278c980862b2c2ddec408cf30341f3ec.tar.xz linux-165a4c31278c980862b2c2ddec408cf30341f3ec.zip |
net: sctp: sctp_outq: remove 'malloced' from its struct
sctp_outq is embedded into sctp_association, and thus never
kmalloced in any way. Also, malloced is always 0, thus kfree()
is never called. Therefore, remove that dead piece of code.
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/net/sctp')
-rw-r--r-- | include/net/sctp/structs.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 125a19c73531..73fd5de4d4cc 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -1059,9 +1059,6 @@ struct sctp_outq { /* Is this structure empty? */ char empty; - - /* Are we kfree()able? */ - char malloced; }; void sctp_outq_init(struct sctp_association *, struct sctp_outq *); |