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)
commitd2ce70a119f844225c10f133f8b957d540027b0f
tree3a2cad94248674b3115dbefa49eeab07e3f5888f
parentf13945d75730081830b6f3360266950e2b7c9067
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