]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - net/sctp/ulpevent.c
[SCTP]: Fix compiler warning about const qualifiers
[karo-tx-linux.git] / net / sctp / ulpevent.c
index b43f1f110f8738069c59f425bd9e40a8e81ecbee..ce6cda6b6994daaf5e1a64c09fdb31c126e07b5b 100644 (file)
@@ -859,7 +859,7 @@ __u16 sctp_ulpevent_get_notification_type(const struct sctp_ulpevent *event)
        union sctp_notification *notification;
        struct sk_buff *skb;
 
-       skb = sctp_event2skb((struct sctp_ulpevent *)event);
+       skb = sctp_event2skb(event);
        notification = (union sctp_notification *) skb->data;
        return notification->sn_header.sn_type;
 }