Commit 9ff265eb authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] sparse: fix warnings in net/irda/*

From: "Mika Kukkonen" <mika@osdl.org>

  CHECK   net/irda/irlan/irlan_client.c
net/irda/irlan/irlan_client.c:237:14: warning: assignment expression in
conditional
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
parent 2ac5f852
......@@ -234,7 +234,7 @@ static void irlan_client_ctrl_disconnect_indication(void *instance, void *sap,
ASSERT(tsap == self->client.tsap_ctrl, return;);
/* Remove frames queued on the control channel */
while ((skb = skb_dequeue(&self->client.txq))) {
while ((skb = skb_dequeue(&self->client.txq)) != NULL) {
dev_kfree_skb(skb);
}
self->client.tx_busy = FALSE;
......
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