summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath5k/reset.c
diff options
context:
space:
mode:
authorPavel Roskin <proski@gnu.org>2011-07-07 18:13:55 -0400
committerJohn W. Linville <linville@tuxdriver.com>2011-07-08 11:44:31 -0400
commit2753f87a574c4844dfa1709c7d0a474f0dc8d818 (patch)
tree93aa529ae3ffcee9d234dc4235abc49d98fb8b00 /drivers/net/wireless/ath/ath5k/reset.c
parent2724a74a2620f98bd63e866e54938d092a017b21 (diff)
downloadlinux-2753f87a574c4844dfa1709c7d0a474f0dc8d818.tar.bz2
ath5k: don't use volatile, it's not needed
Signed-off-by: Pavel Roskin <proski@gnu.org> The reg variable is only used by __raw_writel() and __raw_readl(), which should guarantee memory access in the right order. Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath5k/reset.c')
-rw-r--r--drivers/net/wireless/ath/ath5k/reset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath5k/reset.c b/drivers/net/wireless/ath/ath5k/reset.c
index 3188204d8fda..bbeef3aac93f 100644
--- a/drivers/net/wireless/ath/ath5k/reset.c
+++ b/drivers/net/wireless/ath/ath5k/reset.c
@@ -375,7 +375,7 @@ static int ath5k_hw_nic_reset(struct ath5k_hw *ah, u32 val)
static int ath5k_hw_wisoc_reset(struct ath5k_hw *ah, u32 flags)
{
u32 mask = flags ? flags : ~0U;
- volatile __iomem u32 *reg;
+ u32 __iomem *reg;
u32 regval;
u32 val = 0;