git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
This commit was manufactured by cvs2svn to create tag
[linux-2.6.git]
/
net
/
sctp
/
inqueue.c
diff --git
a/net/sctp/inqueue.c
b/net/sctp/inqueue.c
index
2e83405
..
9bb4de3
100644
(file)
--- a/
net/sctp/inqueue.c
+++ b/
net/sctp/inqueue.c
@@
-78,7
+78,7
@@
void sctp_inq_free(struct sctp_inq *queue)
struct sctp_chunk *chunk;
/* Empty the 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,
sctp_chunk_free(chunk);
/* If there is a packet which is currently being worked on,