aboutsummaryrefslogtreecommitdiffstats
path: root/net/sctp/ulpevent.c
diff options
context:
space:
mode:
authorDaniel Borkmann <dborkman@redhat.com>2013-06-17 05:40:05 -0400
committerDavid S. Miller <davem@davemloft.net>2013-06-17 20:08:05 -0400
commitdda9192851dcf904b4d1095480834f2a4f814ae3 (patch)
tree1dddcb3dc1458a2499aea40d9bfcac2379078926 /net/sctp/ulpevent.c
parent939cfa75a0cea97aa60cb88e3722baefdceb4e72 (diff)
net: sctp: remove SCTP_STATIC macro
SCTP_STATIC is just another define for the static keyword. It's use is inconsistent in the SCTP code anyway and it was introduced in the initial implementation of SCTP in 2.5. We have a regression suite in lksctp-tools, but this is for user space only, so noone makes use of this macro anymore. The kernel test suite for 2.5 is incompatible with the current SCTP code anyway. So simply Remove it, to be more consistent with the rest of the kernel code. Signed-off-by: Daniel Borkmann <dborkman@redhat.com> Acked-by: Vlad Yasevich <vyasevich@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp/ulpevent.c')
-rw-r--r--net/sctp/ulpevent.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/net/sctp/ulpevent.c b/net/sctp/ulpevent.c
index 10c018a5b9fe..44a45dbee4df 100644
--- a/net/sctp/ulpevent.c
+++ b/net/sctp/ulpevent.c
@@ -57,9 +57,9 @@ static void sctp_ulpevent_release_frag_data(struct sctp_ulpevent *event);
57 57
58 58
59/* Initialize an ULP event from an given skb. */ 59/* Initialize an ULP event from an given skb. */
60SCTP_STATIC void sctp_ulpevent_init(struct sctp_ulpevent *event, 60static void sctp_ulpevent_init(struct sctp_ulpevent *event,
61 int msg_flags, 61 int msg_flags,
62 unsigned int len) 62 unsigned int len)
63{ 63{
64 memset(event, 0, sizeof(struct sctp_ulpevent)); 64 memset(event, 0, sizeof(struct sctp_ulpevent));
65 event->msg_flags = msg_flags; 65 event->msg_flags = msg_flags;
@@ -67,8 +67,8 @@ SCTP_STATIC void sctp_ulpevent_init(struct sctp_ulpevent *event,
67} 67}
68 68
69/* Create a new sctp_ulpevent. */ 69/* Create a new sctp_ulpevent. */
70SCTP_STATIC struct sctp_ulpevent *sctp_ulpevent_new(int size, int msg_flags, 70static struct sctp_ulpevent *sctp_ulpevent_new(int size, int msg_flags,
71 gfp_t gfp) 71 gfp_t gfp)
72{ 72{
73 struct sctp_ulpevent *event; 73 struct sctp_ulpevent *event;
74 struct sk_buff *skb; 74 struct sk_buff *skb;