projects
/
kernel
/
kernel-generic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3609d5
)
[EQL]: sparse warning fix
author
Stephen Hemminger
<shemminger@linux-foundation.org>
Sat, 25 Aug 2007 05:37:49 +0000
(22:37 -0700)
committer
David S. Miller
<davem@sunset.davemloft.net>
Mon, 27 Aug 2007 01:35:38 +0000
(18:35 -0700)
More noodlin on long flights, patch bin. Sparse warning fix for eql.
Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/eql.c
patch
|
blob
|
history
diff --git
a/drivers/net/eql.c
b/drivers/net/eql.c
index
a93700e
..
102218c
100644
(file)
--- a/
drivers/net/eql.c
+++ b/
drivers/net/eql.c
@@
-391,7
+391,7
@@
static int __eql_insert_slave(slave_queue_t *queue, slave_t *slave)
slave_t *duplicate_slave = NULL;
duplicate_slave = __eql_find_slave_dev(queue, slave->dev);
- if (duplicate_slave
!= 0
)
+ if (duplicate_slave)
eql_kill_one_slave(queue, duplicate_slave);
list_add(&slave->list, &queue->all_slaves);