This commit was manufactured by cvs2svn to create tag
[linux-2.6.git] / net / sctp / inqueue.c
index 2e83405..9bb4de3 100644 (file)
@@ -78,7 +78,7 @@ void sctp_inq_free(struct sctp_inq *queue)
        struct sctp_chunk *chunk;
 
        /* Empty the queue.  */
-       while ((chunk = (struct sctp_chunk *) skb_dequeue(&queue->in)) != NULL)
+       while ((chunk = (struct sctp_chunk *) skb_dequeue(&queue->in)))
                sctp_chunk_free(chunk);
 
        /* If there is a packet which is currently being worked on,