Commit 2753f87a authored by Pavel Roskin's avatar Pavel Roskin Committed by John W. Linville
Browse files

ath5k: don't use volatile, it's not needed

Signed-off-by: default avatarPavel Roskin <>

The reg variable is only used by __raw_writel() and __raw_readl(), which
should guarantee memory access in the right order.
Signed-off-by: default avatarJohn W. Linville <>
parent 2724a74a
......@@ -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;
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment