diff options
author | Stanislaw Gruszka <sgruszka@redhat.com> | 2011-08-05 15:10:32 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-08-22 22:45:57 +0400 |
commit | 84c87dc86eaf5c3f70d6c85fac832b277b1f71c7 (patch) | |
tree | eed17db69a94517d35b3e789272b9d3918d38812 /drivers/net/wireless/ath/ath9k/hw.h | |
parent | af2bf4b4ee58d262a9a5c1d4ce6f81835058f8b5 (diff) | |
download | linux-84c87dc86eaf5c3f70d6c85fac832b277b1f71c7.tar.xz |
ath9k: remove ->config_pci_powersave() redundant argument
We always call ->config_pci_powersave() with both restore and power_off
arguments equal to 0 or both equal to 1, so merge them into one
argument.
Signed-off-by: Stanislaw Gruszka <sgruszka@redhat.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/hw.h')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/hw.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h index 4fbcced2828c..2ea10f317183 100644 --- a/drivers/net/wireless/ath/ath9k/hw.h +++ b/drivers/net/wireless/ath/ath9k/hw.h @@ -606,8 +606,7 @@ struct ath_hw_private_ops { */ struct ath_hw_ops { void (*config_pci_powersave)(struct ath_hw *ah, - int restore, - int power_off); + bool power_off); void (*rx_enable)(struct ath_hw *ah); void (*set_desc_link)(void *ds, u32 link); bool (*calibrate)(struct ath_hw *ah, |