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

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 <chaitanya.kulkarni@wdc.com>
Signed-off-by: default avatarJens Axboe <axboe@kernel.dk>
parent 8c54803b
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);
}