]> git.karo-electronics.de Git - karo-tx-linux.git/commit
If allocation fails, the local var *t is not used any more after kfree.
authorWang Sheng-Hui <shhuiw@gmail.com>
Wed, 13 Feb 2013 22:42:35 +0000 (09:42 +1100)
committerStephen Rothwell <sfr@canb.auug.org.au>
Wed, 13 Feb 2013 22:42:35 +0000 (09:42 +1100)
commita3a9bfd1b7a07a868fe6d14ecb612df0a0e177b4
tree3c5fbc74ca821e3edd65633a9458002f3390aee4
parentc3a0ede39428bd1425d24fc24ca62087144fff50
If allocation fails, the local var *t is not used any more after kfree.
Don't need to reset it to NULL. Remove the unnecesary NULL set here.

Signed-off-by: Wang Sheng-Hui <shhuiw@gmail.com>
Signed-off-by: Alasdair G Kergon <agk@redhat.com>
drivers/md/dm-table.c