diff options
author | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-01-20 09:10:23 -0500 |
---|---|---|
committer | Dominik Brodowski <linux@dominikbrodowski.net> | 2006-03-31 10:26:31 -0500 |
commit | f6fbe01ac976f3ec618cd5fb71ad9ce2cfa7ab2b (patch) | |
tree | 60758f4c397c9123b40e2ab5da14b5ffc3a5c3d9 /drivers/net/wireless/atmel_cs.c | |
parent | b4c884000a7d3664dd8ad7227241456bd7824d86 (diff) |
[PATCH] pcmcia: remove unused p_dev->state flags
Remove the unused DEV_RELEASE_PENDING flag, and move the DEV_SUSPEND flag
into the p_dev structure, and make use of it at the core level.
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
Diffstat (limited to 'drivers/net/wireless/atmel_cs.c')
-rw-r--r-- | drivers/net/wireless/atmel_cs.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/atmel_cs.c b/drivers/net/wireless/atmel_cs.c index 962272c1342a..d09b1472e673 100644 --- a/drivers/net/wireless/atmel_cs.c +++ b/drivers/net/wireless/atmel_cs.c | |||
@@ -220,7 +220,7 @@ do { last_fn = (fn); if ((last_ret = (ret)) != 0) goto cs_failed; } while (0) | |||
220 | static int card_present(void *arg) | 220 | static int card_present(void *arg) |
221 | { | 221 | { |
222 | struct pcmcia_device *link = (struct pcmcia_device *)arg; | 222 | struct pcmcia_device *link = (struct pcmcia_device *)arg; |
223 | if (link->state & DEV_SUSPEND) | 223 | if (link->suspended) |
224 | return 0; | 224 | return 0; |
225 | else if (link->state & DEV_PRESENT) | 225 | else if (link->state & DEV_PRESENT) |
226 | return 1; | 226 | return 1; |