]> git.baikalelectronics.ru Git - kernel.git/commit
ocfs2: clean up unused local variables in ocfs2_file_write_iter
authorJoseph Qi <joseph.qi@huawei.com>
Fri, 4 Sep 2015 22:43:49 +0000 (15:43 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 4 Sep 2015 23:54:41 +0000 (16:54 -0700)
commit4a5a6a4b97ce10ad18af38ea8e7ccf9e82769ca6
treecf42c00032fc5c5cdc847aae464d0f39304ba833
parent247e9665d638cb51bc0608dc887ec917caab0f14
ocfs2: clean up unused local variables in ocfs2_file_write_iter

Since commit 0ce4dd01a25e ("ocfs2: remove filesize checks for sync I/O
journal commit") removes filesize checks for sync I/O journal commit,
variables old_size and old_clusters are not actually used any more.  So
clean them up.

Signed-off-by: Joseph Qi <joseph.qi@huawei.com>
Cc: Mark Fasheh <mfasheh@suse.com>
Cc: Joel Becker <jlbec@evilplan.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/ocfs2/file.c