From: Artem Bityutskiy Date: Mon, 18 Oct 2010 05:28:50 +0000 (+0300) Subject: UBIFS: remove a bit of unneeded code X-Git-Tag: v2.6.37-rc1~170^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=39037559e651c417fb68b828926dc61cd5d6e5e2;p=pandora-kernel.git UBIFS: remove a bit of unneeded code This is a clean-up patch which: 1. Removes explicite 'hrtimer_cancel()' after 'ubifs_wbuf_sync()' in 'ubifs_remount_ro()', because the timers will be canceled by 'ubifs_wbuf_sync()', no need to cancel them for the second time. 2. Remove "if (c->jheads)" check from 'ubifs_put_super()', because at journal heads must always be allocated there, since we checked earlier that we were mounted R/W, and the olny situation when journal heads are not allocated is when mounter or re-mounted R/O. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed