UBIFS: remove douple initialization in change_category()
authorDan Carpenter <dan.carpenter@oracle.com>
Sun, 1 Apr 2012 15:57:59 +0000 (18:57 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Thu, 21 Jun 2012 11:46:14 +0000 (14:46 +0300)
commitcf9416092225dbae3636a6993c4082ebc88188c0
treebe035e6d7eaad17a54a19bdec638113d934513fa
parentb9ee9ff1d1eb77f0357fef4d3f3a30daa1a5a7ad
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