]> pilppa.org Git - linux-2.6-omap-h63xx.git/blobdiff - drivers/net/cassini.c
[PATCH] DM9000 - check for MAC left in by bootloader
[linux-2.6-omap-h63xx.git] / drivers / net / cassini.c
index 39f36aa05aa8b005bf4b2b2638ef7f1a47810f6e..565a54f1d06a1852bac76a8c317906bd04dbcac9 100644 (file)
@@ -2915,8 +2915,7 @@ static int cas_start_xmit(struct sk_buff *skb, struct net_device *dev)
         */
        static int ring; 
 
-       skb = skb_padto(skb, cp->min_frame_size);
-       if (!skb)
+       if (skb_padto(skb, cp->min_frame_size))
                return 0;
 
        /* XXX: we need some higher-level QoS hooks to steer packets to