]> git.baikalelectronics.ru Git - kernel.git/commit
dm table: remove superfluous variable reset
authorWang Sheng-Hui <shhuiw@gmail.com>
Fri, 1 Mar 2013 22:45:45 +0000 (22:45 +0000)
committerAlasdair G Kergon <agk@redhat.com>
Fri, 1 Mar 2013 22:45:45 +0000 (22:45 +0000)
commit52ef715ff9f96b5881607a69b004e295accacda0
tree3a2cad94248674b3115dbefa49eeab07e3f5888f
parent628b2ae212d4c3e8b0696a51936fcde759ac8a54
dm table: remove superfluous variable reset

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