]> Git Repo - linux.git/commit - mm/filemap.c
mm: remove temporary variable on generic_file_direct_write()
authorNamhyung Kim <[email protected]>
Tue, 26 Oct 2010 21:21:58 +0000 (14:21 -0700)
committerLinus Torvalds <[email protected]>
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 <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
mm/filemap.c
This page took 0.046557 seconds and 4 git commands to generate.