Re: [PATCH 6/9] ser_gigaset: checkpatch cleanup
From: Alan Cox
Date: Sun Oct 25 2009 - 16:35:48 EST
On Sun, 25 Oct 2009 20:30:27 +0100 (CET)
Tilman Schmidt <tilman@xxxxxxx> wrote:
> Duly uglified as demanded by checkpatch.pl.
>
> Impact: cosmeti
Umm ??
> - if (!(bcs->tx_skb = skb_dequeue(&bcs->squeue)))
> + nextskb = skb_dequeue(&bcs->squeue);
> + if (!nextskb)
> /* no skb either, nothing to do */
> return;
> + bcs->tx_skb = nextskb;
This does not do the same thing as before
Previously the NULL case assigned to bcs->tx_skb, now it does not.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/