]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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>
Fri, 13 Apr 2012 16:07:47 +0000 (19:07 +0300)
commit297fe33d3a2f44b1e6fa50bbdbdec7b3cbfc830a
tree184884e0e84c9386f1494fd420d3ac029fee1a98
parent0034102808e0dbbf3a2394b82b1bb40b5778de9e
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