From: Shan Wei Date: Mon, 18 Apr 2011 19:19:29 +0000 (+0000) Subject: sctp: delete unused macro definition of sctp_chunk_is_control X-Git-Tag: v3.0~749^2~303 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=709d38714eff234432956931437457e0de806784;p=platform%2Fkernel%2Flinux-amlogic.git 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 Signed-off-by: Vlad Yasevich Signed-off-by: Wei Yongjun Signed-off-by: David S. Miller --- diff --git a/include/net/sctp/constants.h b/include/net/sctp/constants.h index c70d8cc..deac13d 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 */