Commit ee1e0359 authored by Chaitanya Kulkarni's avatar Chaitanya Kulkarni Committed by Jens Axboe

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: default avatarChaitanya Kulkarni <>
Signed-off-by: default avatarJens Axboe <>
parent 8c54803b
......@@ -779,8 +779,8 @@ static int blk_mq_debugfs_release(struct inode *inode, struct file *file)
if (attr->show)
return single_release(inode, file);
return seq_release(inode, file);
return seq_release(inode, file);
static const struct file_operations blk_mq_debugfs_fops = {
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment