git://ftp.safe.ca
/
safe
/
jmp
/
linux-2.6
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
intelfb: add preliminary i2c support
[safe/jmp/linux-2.6]
/
drivers
/
net
/
lasi_82596.c
diff --git
a/drivers/net/lasi_82596.c
b/drivers/net/lasi_82596.c
index
957888d
..
1ab0944
100644
(file)
--- a/
drivers/net/lasi_82596.c
+++ b/
drivers/net/lasi_82596.c
@@
-1083,8
+1083,7
@@
static int i596_start_xmit(struct sk_buff *skb, struct net_device *dev)
skb->len, skb->data));
if (length < ETH_ZLEN) {
- skb = skb_padto(skb, ETH_ZLEN);
- if (skb == NULL)
+ if (skb_padto(skb, ETH_ZLEN))
return 0;
length = ETH_ZLEN;
}