diff options
author | Daniel Borkmann <dborkman@redhat.com> | 2013-04-16 07:07:11 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-04-17 14:13:02 -0400 |
commit | ee16371e6c737684215ee10b4b9756b610d81272 (patch) | |
tree | 88854fd1b9497eae8f0f1197167b87ee947ac42b /include/net/sctp | |
parent | 542c2d832087aa78566be49aa4284779a0a687b3 (diff) |
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/sctp')
-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 { | |||
991 | * messages. | 991 | * messages. |
992 | */ | 992 | */ |
993 | struct work_struct immediate; | 993 | struct work_struct immediate; |
994 | |||
995 | int malloced; /* Is this structure kfree()able? */ | ||
996 | }; | 994 | }; |
997 | 995 | ||
998 | void sctp_inq_init(struct sctp_inq *); | 996 | void sctp_inq_init(struct sctp_inq *); |