diff options
author | Helmut Schaa <helmut.schaa@googlemail.com> | 2011-01-30 07:20:52 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-01-31 15:06:24 -0500 |
commit | b550911abc0db069bb157f9769ffb7cf22c6c868 (patch) | |
tree | 416af0318bec7d736a6251c784556e88c1a73982 /drivers/net/wireless/rt2x00/rt2800pci.c | |
parent | e88399bcdb71f2cdb195410151edf9c04980adbd (diff) |
rt2x00: Remove STATE_RADIO_IRQ_OFF_ISR and STATE_RADIO_IRQ_ON_ISR
Remove STATE_RADIO_IRQ_OFF_ISR and STATE_RADIO_IRQ_ON_ISR as they are
not used anymore.
Signed-off-by: Helmut Schaa <helmut.schaa@googlemail.com>
Acked-by: Gertjan van Wingerde <gwingerde@gmail.com>
Signed-off-by: Ivo van Doorn <IvDoorn@gmail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/rt2x00/rt2800pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt2800pci.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt2800pci.c b/drivers/net/wireless/rt2x00/rt2800pci.c index 31483c79a457..208ea5e966ed 100644 --- a/drivers/net/wireless/rt2x00/rt2800pci.c +++ b/drivers/net/wireless/rt2x00/rt2800pci.c | |||
@@ -418,8 +418,7 @@ static int rt2800pci_init_queues(struct rt2x00_dev *rt2x00dev) | |||
418 | static void rt2800pci_toggle_irq(struct rt2x00_dev *rt2x00dev, | 418 | static void rt2800pci_toggle_irq(struct rt2x00_dev *rt2x00dev, |
419 | enum dev_state state) | 419 | enum dev_state state) |
420 | { | 420 | { |
421 | int mask = (state == STATE_RADIO_IRQ_ON) || | 421 | int mask = (state == STATE_RADIO_IRQ_ON); |
422 | (state == STATE_RADIO_IRQ_ON_ISR); | ||
423 | u32 reg; | 422 | u32 reg; |
424 | unsigned long flags; | 423 | unsigned long flags; |
425 | 424 | ||
@@ -564,9 +563,7 @@ static int rt2800pci_set_device_state(struct rt2x00_dev *rt2x00dev, | |||
564 | rt2800pci_set_state(rt2x00dev, STATE_SLEEP); | 563 | rt2800pci_set_state(rt2x00dev, STATE_SLEEP); |
565 | break; | 564 | break; |
566 | case STATE_RADIO_IRQ_ON: | 565 | case STATE_RADIO_IRQ_ON: |
567 | case STATE_RADIO_IRQ_ON_ISR: | ||
568 | case STATE_RADIO_IRQ_OFF: | 566 | case STATE_RADIO_IRQ_OFF: |
569 | case STATE_RADIO_IRQ_OFF_ISR: | ||
570 | rt2800pci_toggle_irq(rt2x00dev, state); | 567 | rt2800pci_toggle_irq(rt2x00dev, state); |
571 | break; | 568 | break; |
572 | case STATE_DEEP_SLEEP: | 569 | case STATE_DEEP_SLEEP: |