]> 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)
commit73aaf98b9ec430fe519bc1ee3614b1fc8836365b
tree3a2cad94248674b3115dbefa49eeab07e3f5888f
parent09b1f415cb42624c4b069c444c840df751d73802
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