[patch] UBIFS: remove douple initialization in change_category()

Artem Bityutskiy dedekind1 at gmail.com
Fri Apr 13 12:11:18 EDT 2012


On Sun, 2012-04-01 at 18:57 +0300, Dan Carpenter wrote:
> "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 at oracle.com>

Pushed to linux-ubifs.git, thanks!

-- 
Best Regards,
Artem Bityutskiy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
URL: <http://lists.infradead.org/pipermail/linux-mtd/attachments/20120413/d1639653/attachment.sig>


More information about the linux-mtd mailing list