Message ID | 20191202165408.64510-1-colin.king@canonical.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | loop: remove redundant assignment to err | expand |
diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 739b372a5112..30f187786dae 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -2006,7 +2006,6 @@ static int loop_add(struct loop_device **l, int i) goto out_free_dev; i = err; - err = -ENOMEM; lo->tag_set.ops = &loop_mq_ops; lo->tag_set.nr_hw_queues = 1; lo->tag_set.queue_depth = 128;