projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
arcnet: Remove pointer comparisons to NULL
[cascardo/linux.git]
/
drivers
/
net
/
arcnet
/
arc-rawmode.c
diff --git
a/drivers/net/arcnet/arc-rawmode.c
b/drivers/net/arcnet/arc-rawmode.c
index
7fc5b04
..
40035ee
100644
(file)
--- a/
drivers/net/arcnet/arc-rawmode.c
+++ b/
drivers/net/arcnet/arc-rawmode.c
@@
-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;
}