slub: fix shadowed variable sparse warnings
authorHarvey Harrison <harvey.harrison@gmail.com>
Thu, 31 Jan 2008 23:20:50 +0000 (15:20 -0800)
committerChristoph Lameter <clameter@sgi.com>
Mon, 4 Feb 2008 18:56:01 +0000 (10:56 -0800)
commite374d4835668a8c6aec7cefc0a44df69f9679017
tree95930cf83053d43df9ad0b2827cf2abebbc12493
parent9135f1901ee6449dfe338adf6e40e9c2025b8150
slub: fix shadowed variable sparse warnings

Introduce 'len' at outer level:
mm/slub.c:3406:26: warning: symbol 'n' shadows an earlier one
mm/slub.c:3393:6: originally declared here

No need to declare new node:
mm/slub.c:3501:7: warning: symbol 'node' shadows an earlier one
mm/slub.c:3491:6: originally declared here

No need to declare new x:
mm/slub.c:3513:9: warning: symbol 'x' shadows an earlier one
mm/slub.c:3492:6: originally declared here

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Signed-off-by: Christoph Lameter <clameter@sgi.com>
mm/slub.c