diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-04-16 11:07:11 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-17 14:13:02 -0400 |
commit | ee16371e6c737684215ee10b4b9756b610d81272 (patch) | |
tree | 88854fd1b9497eae8f0f1197167b87ee947ac42b /include/net | |
parent | 542c2d832087aa78566be49aa4284779a0a687b3 (diff) | |
download | linux-ee16371e6c737684215ee10b4b9756b610d81272.tar.gz linux-ee16371e6c737684215ee10b4b9756b610d81272.tar.bz2 linux-ee16371e6c737684215ee10b4b9756b610d81272.zip |
net: sctp: sctp_inq: remove dead code
sctp_inq is never kmalloced, since it's integrated into sctp_ep_common
and only initialized from eps and assocs. Therefore, remove the dead
code from there.
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')
-rw-r--r-- | include/net/sctp/structs.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/net/sctp/structs.h b/include/net/sctp/structs.h index 3c1bb8dd1e26..125a19c73531 100644 --- a/include/net/sctp/structs.h +++ b/include/net/sctp/structs.h @@ -991,8 +991,6 @@ struct sctp_inq { * messages. */ struct work_struct immediate; - - int malloced; /* Is this structure kfree()able? */ }; void sctp_inq_init(struct sctp_inq *); |