mm: remove temporary variable on generic_file_direct_write()
authorNamhyung Kim <namhyung@gmail.com>
Tue, 26 Oct 2010 21:21:58 +0000 (14:21 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 26 Oct 2010 23:52:09 +0000 (16:52 -0700)
commit0116651c85e671a693dd2f56e95dd651f746c973
treed09f274105bc756b5fbd09dcb55302c0191e7e74
parent68da336a14e16c2de95e987f3200995b707d7038
mm: remove temporary variable on generic_file_direct_write()

'end' shadows earlier one and is not necessary at all.  Remove it and use
'pos' instead.  This removes following sparse warnings:

 mm/filemap.c:2180:24: warning: symbol 'end' shadows an earlier one
 mm/filemap.c:2132:25: originally declared here

Signed-off-by: Namhyung Kim <namhyung@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/filemap.c