diff options
Diffstat (limited to 'block/blk-sysfs.c')
-rw-r--r-- | block/blk-sysfs.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/block/blk-sysfs.c b/block/blk-sysfs.c index e20eadfcf5c8..bed4a2facd65 100644 --- a/block/blk-sysfs.c +++ b/block/blk-sysfs.c @@ -887,7 +887,6 @@ int blk_register_queue(struct gendisk *disk) kobject_uevent(&q->elevator->kobj, KOBJ_ADD); mutex_unlock(&q->sysfs_lock); - ret = 0; unlock: mutex_unlock(&q->sysfs_dir_lock); |