block: get rid of redundant else

This is a pure code cleanup patch and doesn't change any functionality.
This removes the redundant else in the code which is not needed since
we are returning from function anyway.

Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Signed-off-by: Jens Axboe <axboe@kernel.dk>
This commit is contained in:
Chaitanya Kulkarni 2019-06-19 15:01:48 -07:00 committed by Jens Axboe
parent 8c54803b98
commit ee1e03598f
1 changed files with 2 additions and 2 deletions

View File

@ -779,7 +779,7 @@ static int blk_mq_debugfs_release(struct inode *inode, struct file *file)
if (attr->show)
return single_release(inode, file);
else
return seq_release(inode, file);
}