MIPS: Remove unneeded volatile from arch/mips/lib/bitops.c
authorDavid Daney <david.daney@cavium.com>
Tue, 26 Feb 2013 22:22:33 +0000 (22:22 +0000)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 7 May 2013 23:19:06 +0000 (01:19 +0200)
commit301896513971d41d737c904ecf267b6f0ea21d55
tree482c2508e7db52d399fe3ef9248fa3b295c11394
parent224786779d04bbcd5f61eaafc86bf8fee350388a
MIPS: Remove unneeded volatile from arch/mips/lib/bitops.c

The operations on the bitmap pointers are protected by "memory"
clobbering raw_local_irq_{save,restore}(), so there is no need for
volatile here.  By removing the volatile we get better code generation
out of the compiler.

Signed-off-by: David Daney <david.daney@cavium.com>
Patchwork: http://patchwork.linux-mips.org/patch/4966/
Acked-by: John Crispin <blogic@openwrt.org>
arch/mips/lib/bitops.c