Re: [PATCH] drivers:net:ifb: Fixed coding style error:assignmentin if statement

From: David Miller
Date: Wed Aug 21 2013 - 02:34:48 EST


From: Sanil Kumar D <skd.linux@xxxxxxxxx>
Date: Tue, 20 Aug 2013 05:09:37 +0530

> + if (skb == NULL) {

"!skb" is preferred.

> + if (skb == NULL) {

Likewise.

--
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/