arcnet: Remove pointer comparisons to NULL
[cascardo/linux.git] / drivers / net / arcnet / arc-rawmode.c
index 7fc5b04..40035ee 100644 (file)
@@ -97,7 +97,7 @@ static void rx(struct net_device *dev, int bufnum,
                ofs = 256 - length;
 
        skb = alloc_skb(length + ARC_HDR_SIZE, GFP_ATOMIC);
-       if (skb == NULL) {
+       if (!skb) {
                dev->stats.rx_dropped++;
                return;
        }