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)
commitbf59e6623a3a92a2bf428f2d6592c81aae6317e1
treecf42c00032fc5c5cdc847aae464d0f39304ba833
parent372a447c4bb8271d128def5f93e3365d5d06b4d8
ocfs2: clean up unused local variables in ocfs2_file_write_iter

Since commit 86b9c6f3f891 ("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