From: Artem Bityutskiy Date: Mon, 2 May 2011 18:51:17 +0000 (+0300) Subject: UBIFS: remove an unneeded check X-Git-Tag: v3.0-rc1~317^2~29 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69f8a75a7d9db05a7ee708514d605ab74956c73e;p=pandora-kernel.git UBIFS: remove an unneeded check In 'ubifs_recover_size()' we have an "if (!e->inode && c->ro_mount)" statement. But if 'c->ro_mount' is true, then '!e->inode' must always be true as well. So we can remove the unnecessary '!e->inode' test and put an 'ubifs_assert(!e->inode)' instead. This patch also removes an extra trailing white-space in a debugging print, as well as adds few empty lines to 'ubifs_recover_size()' to make it a bit more readable. Signed-off-by: Artem Bityutskiy --- Reading git-diff-tree failed