summaryrefslogtreecommitdiff
path: root/include/net
diff options
context:
space:
mode:
authorShan Wei <shanwei@cn.fujitsu.com>2011-04-18 23:19:29 +0400
committerDavid S. Miller <davem@davemloft.net>2011-04-20 08:45:18 +0400
commit709d38714eff234432956931437457e0de806784 (patch)
tree68f80e7621d3031f6577bb86188152c8cddbbeb5 /include/net
parentd0381c42aabdbd9402501d08ea44a89695ad58b4 (diff)
downloadlinux-709d38714eff234432956931437457e0de806784.tar.xz
sctp: delete unused macro definition of sctp_chunk_is_control
The macro never be used. And if needed, can use !sctp_chunk_is_data instead of. Signed-off-by: Shan Wei <shanwei@cn.fujitsu.com> Signed-off-by: Vlad Yasevich <vladislav.yasevich@hp.com> Signed-off-by: Wei Yongjun <yjwei@cn.fujitsu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/net')
-rw-r--r--include/net/sctp/constants.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h
index c70d8ccc55cb..deac13dd8d02 100644
--- a/include/net/sctp/constants.h
+++ b/include/net/sctp/constants.h
@@ -150,7 +150,6 @@ SCTP_SUBTYPE_CONSTRUCTOR(OTHER, sctp_event_other_t, other)
SCTP_SUBTYPE_CONSTRUCTOR(PRIMITIVE, sctp_event_primitive_t, primitive)
-#define sctp_chunk_is_control(a) (a->chunk_hdr->type != SCTP_CID_DATA)
#define sctp_chunk_is_data(a) (a->chunk_hdr->type == SCTP_CID_DATA)
/* Calculate the actual data size in a data chunk */