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/rt61pci.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/rt61pci.c')
-rw-r--r-- | drivers/net/wireless/rt2x00/rt61pci.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/drivers/net/wireless/rt2x00/rt61pci.c b/drivers/net/wireless/rt2x00/rt61pci.c index 351055d4b89..3afafabda08 100644 --- a/drivers/net/wireless/rt2x00/rt61pci.c +++ b/drivers/net/wireless/rt2x00/rt61pci.c | |||
@@ -1717,8 +1717,7 @@ static int rt61pci_init_bbp(struct rt2x00_dev *rt2x00dev) | |||
1717 | static void rt61pci_toggle_irq(struct rt2x00_dev *rt2x00dev, | 1717 | static void rt61pci_toggle_irq(struct rt2x00_dev *rt2x00dev, |
1718 | enum dev_state state) | 1718 | enum dev_state state) |
1719 | { | 1719 | { |
1720 | int mask = (state == STATE_RADIO_IRQ_OFF) || | 1720 | int mask = (state == STATE_RADIO_IRQ_OFF); |
1721 | (state == STATE_RADIO_IRQ_OFF_ISR); | ||
1722 | u32 reg; | 1721 | u32 reg; |
1723 | unsigned long flags; | 1722 | unsigned long flags; |
1724 | 1723 | ||
@@ -1852,9 +1851,7 @@ static int rt61pci_set_device_state(struct rt2x00_dev *rt2x00dev, | |||
1852 | rt61pci_disable_radio(rt2x00dev); | 1851 | rt61pci_disable_radio(rt2x00dev); |
1853 | break; | 1852 | break; |
1854 | case STATE_RADIO_IRQ_ON: | 1853 | case STATE_RADIO_IRQ_ON: |
1855 | case STATE_RADIO_IRQ_ON_ISR: | ||
1856 | case STATE_RADIO_IRQ_OFF: | 1854 | case STATE_RADIO_IRQ_OFF: |
1857 | case STATE_RADIO_IRQ_OFF_ISR: | ||
1858 | rt61pci_toggle_irq(rt2x00dev, state); | 1855 | rt61pci_toggle_irq(rt2x00dev, state); |
1859 | break; | 1856 | break; |
1860 | case STATE_DEEP_SLEEP: | 1857 | case STATE_DEEP_SLEEP: |