]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - net/sctp/chunk.c
Merge tag 'arc-v3.11-rc1-part2' of git://git.kernel.org/pub/scm/linux/kernel/git...
[karo-tx-linux.git] / net / sctp / chunk.c
index 69ce21e3716f89fbfc78b050ffc3943455906d27..5780565f5b7d0c885faacf86d96a742e1ebbdae5 100644 (file)
@@ -66,7 +66,7 @@ static void sctp_datamsg_init(struct sctp_datamsg *msg)
 }
 
 /* Allocate and initialize datamsg. */
-SCTP_STATIC struct sctp_datamsg *sctp_datamsg_new(gfp_t gfp)
+static struct sctp_datamsg *sctp_datamsg_new(gfp_t gfp)
 {
        struct sctp_datamsg *msg;
        msg = kmalloc(sizeof(struct sctp_datamsg), gfp);
@@ -193,8 +193,9 @@ struct sctp_datamsg *sctp_datamsg_from_user(struct sctp_association *asoc,
                msg->expires_at = jiffies +
                                    msecs_to_jiffies(sinfo->sinfo_timetolive);
                msg->can_abandon = 1;
-               SCTP_DEBUG_PRINTK("%s: msg:%p expires_at: %ld jiffies:%ld\n",
-                                 __func__, msg, msg->expires_at, jiffies);
+
+               pr_debug("%s: msg:%p expires_at:%ld jiffies:%ld\n", __func__,
+                        msg, msg->expires_at, jiffies);
        }
 
        /* This is the biggest possible DATA chunk that can fit into