Commit 89bd49ed authored by Stephen Rothwell's avatar Stephen Rothwell Committed by David S. Miller

[SCTP]: Fix IRQ flags warnings.

parent a3b4ba8e
...@@ -356,7 +356,7 @@ for (pos = (head)->next;\ ...@@ -356,7 +356,7 @@ for (pos = (head)->next;\
static inline void sctp_skb_list_tail(struct sk_buff_head *list, static inline void sctp_skb_list_tail(struct sk_buff_head *list,
struct sk_buff_head *head) struct sk_buff_head *head)
{ {
int flags __attribute__ ((unused)); unsigned long flags;
sctp_spin_lock_irqsave(&head->lock, flags); sctp_spin_lock_irqsave(&head->lock, flags);
sctp_spin_lock(&list->lock); sctp_spin_lock(&list->lock);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment