kmemleak: fix sparse warning over overshadowed flags
authorLuis R. Rodriguez <lrodriguez@Atheros.com>
Tue, 8 Sep 2009 16:32:34 +0000 (17:32 +0100)
committerCatalin Marinas <catalin.marinas@arm.com>
Tue, 8 Sep 2009 16:34:06 +0000 (17:34 +0100)
commit0580a1819c584eb8b98f8701157667037e11153a
treef55002557bbeb45c1eadcbe53f222cf618002732
parenta1084c8779f5efa771c6896a0a4184900b4ab736
kmemleak: fix sparse warning over overshadowed flags

A secondary irq_save is not required as a locking before it was
already disabling irqs.

This fixes this sparse warning:
mm/kmemleak.c:512:31: warning: symbol 'flags' shadows an earlier one
mm/kmemleak.c:448:23: originally declared here

Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Acked-by: Pekka Enberg <penberg@cs.helsinki.fi>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
mm/kmemleak.c