]> err.no Git - linux-2.6/blobdiff - drivers/net/atarilance.c
[PATCH] Add support for the Cicada 8201 PHY
[linux-2.6] / drivers / net / atarilance.c
index 442b2cbeb58a739507efca61d12f69139486d064..91783a8008be13be058d4081ad196b613336937f 100644 (file)
@@ -804,8 +804,7 @@ static int lance_start_xmit( struct sk_buff *skb, struct net_device *dev )
                ++len;
                
        if (len > skb->len) {
-               skb = skb_padto(skb, len);
-               if (skb == NULL)
+               if (skb_padto(skb, len))
                        return 0;
        }