]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
locks: kill redundant local variable
authorJ. Bruce Fields <bfields@fieldses.org>
Tue, 14 Nov 2006 21:54:36 +0000 (16:54 -0500)
committerJ. Bruce Fields <bfields@citi.umich.edu>
Tue, 9 Oct 2007 22:32:45 +0000 (18:32 -0400)
commit526985b9dd6ef7716b87f5fe6f0e2438ea3a89c7
treee22c895d58413a2b784b7e91a9c6d73e724a1838
parentb842e240f27678aa5d71611cddc8d17a93fb0caf
locks: kill redundant local variable

There's no need for another variable local to this loop; we can use the
variable (of the same name!) already declared at the top of the function,
and not used till later (at which point it's initialized, so this is safe).

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
fs/locks.c