projects
/
profile
/
ivi
/
kernel-x86-ivi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3f0d843
)
p54spi: drop test for FW_STATE_RESET in p54spi_work
author
Max Filippov
<jcmvbkbc@gmail.com>
Mon, 18 May 2009 17:28:55 +0000
(21:28 +0400)
committer
John W. Linville
<linville@tuxdriver.com>
Wed, 20 May 2009 18:46:28 +0000
(14:46 -0400)
Drop test for FW_STATE_RESET in p54spi_work as fw_state
is never assigned this value.
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/p54/p54spi.c
patch
|
blob
|
history
diff --git
a/drivers/net/wireless/p54/p54spi.c
b/drivers/net/wireless/p54/p54spi.c
index
40aeb43
..
83116ba
100644
(file)
--- a/
drivers/net/wireless/p54/p54spi.c
+++ b/
drivers/net/wireless/p54/p54spi.c
@@
-525,8
+525,7
@@
static void p54spi_work(struct work_struct *work)
mutex_lock(&priv->mutex);
- if (priv->fw_state == FW_STATE_OFF &&
- priv->fw_state == FW_STATE_RESET)
+ if (priv->fw_state == FW_STATE_OFF)
goto out;
ints = p54spi_read32(priv, SPI_ADRS_HOST_INTERRUPTS);