net: sctp: remove SCTP_STATIC macro
[firefly-linux-kernel-4.4.55.git] / net / sctp / ulpevent.c
index 10c018a5b9fee066c35c364c79cd6fef77e31580..44a45dbee4df37e835b258cb551e333aeb7582b9 100644 (file)
@@ -57,9 +57,9 @@ static void sctp_ulpevent_release_frag_data(struct sctp_ulpevent *event);
 
 
 /* Initialize an ULP event from an given skb.  */
-SCTP_STATIC void sctp_ulpevent_init(struct sctp_ulpevent *event,
-                                   int msg_flags,
-                                   unsigned int len)
+static void sctp_ulpevent_init(struct sctp_ulpevent *event,
+                              int msg_flags,
+                              unsigned int len)
 {
        memset(event, 0, sizeof(struct sctp_ulpevent));
        event->msg_flags = msg_flags;
@@ -67,8 +67,8 @@ SCTP_STATIC void sctp_ulpevent_init(struct sctp_ulpevent *event,
 }
 
 /* Create a new sctp_ulpevent.  */
-SCTP_STATIC struct sctp_ulpevent *sctp_ulpevent_new(int size, int msg_flags,
-                                                   gfp_t gfp)
+static struct sctp_ulpevent *sctp_ulpevent_new(int size, int msg_flags,
+                                              gfp_t gfp)
 {
        struct sctp_ulpevent *event;
        struct sk_buff *skb;