autofs4: fix sparse warning in root.c
authorHarvey Harrison <harvey.harrison@gmail.com>
Tue, 29 Apr 2008 07:59:03 +0000 (00:59 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 29 Apr 2008 15:06:01 +0000 (08:06 -0700)
commitf249fdd8c19ff65825c0be67212cdf22e556668e
treed8eb3c461ef5ba0f6692e237548c755f47bbf8b4
parent58b250daff6a24518813975143c8433d9d5b684f
autofs4: fix sparse warning in root.c

fs/autofs4/root.c:536:23: warning: symbol 'ino' shadows an earlier one
fs/autofs4/root.c:510:22: originally declared here

There is no need to redeclare, we are at the end of the loop and in
the next iteration of the loop, ino will be reset.

Signed-off-by: Harvey Harrison <harvey.harrison@gmail.com>
Acked-by: Ian Kent <raven@themaw.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/autofs4/root.c