UBIFS: remove douple initialization in change_category()
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 1 Apr 2012 15:57:59 +0000 (18:57 +0300)
committerArtem Bityutskiy <artem.bityutskiy@linux.intel.com>
Thu, 3 May 2012 11:11:11 +0000 (14:11 +0300)
commit273946a5c507ff5bce12349143470e8629bbe0a7
treec060ab6ab237d8f4f24f80d1242384f71ca51e34
parent69964ea4c7b68c9399f7977aa5b9aa6539a6a98a
UBIFS: remove douple initialization in change_category()

"heap" is initialized twice.  I removed the first one, because it makes
Smatch complain that we use "new_cat" as an offset before checking it.

This doesn't change how the code works, it's just a cleanup.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Artem Bityutskiy <artem.bityutskiy@linux.intel.com>
fs/ubifs/lprops.c