diff --git a/drivers/md/dm-table.c b/drivers/md/dm-table.c index daf25d0890b3d6cdf9852b739593648f00b86425..c95405d04726630ddfcd227781333c5dbbe8a956 100644 --- a/drivers/md/dm-table.c +++ b/drivers/md/dm-table.c @@ -217,7 +217,6 @@ int dm_table_create(struct dm_table **result, fmode_t mode, if (alloc_targets(t, num_targets)) { kfree(t); - t = NULL; return -ENOMEM; }