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
S2io: two branches the same in wait_for_cmd_complete()
[safe/jmp/linux-2.6]
/
drivers
/
net
/
s2io.c
diff --git
a/drivers/net/s2io.c
b/drivers/net/s2io.c
index
cc42186
..
3c4836d
100644
(file)
--- a/
drivers/net/s2io.c
+++ b/
drivers/net/s2io.c
@@
-3421,7
+3421,7
@@
static int wait_for_cmd_complete(void __iomem *addr, u64 busy_bit,
break;
}
} else {
- if (
!(val64 & busy_bit)
) {
+ if (
val64 & busy_bit
) {
ret = SUCCESS;
break;
}