We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 25e58af commit a5f3851Copy full SHA for a5f3851
drivers/nvme/host/fabrics.c
@@ -1092,7 +1092,6 @@ static void __nvmf_concat_opt_tokens(struct seq_file *seq_file)
1092
static int nvmf_dev_show(struct seq_file *seq_file, void *private)
1093
{
1094
struct nvme_ctrl *ctrl;
1095
- int ret = 0;
1096
1097
mutex_lock(&nvmf_dev_mutex);
1098
ctrl = seq_file->private;
@@ -1106,7 +1105,7 @@ static int nvmf_dev_show(struct seq_file *seq_file, void *private)
1106
1105
1107
out_unlock:
1108
mutex_unlock(&nvmf_dev_mutex);
1109
- return ret;
+ return 0;
1110
}
1111
1112
static int nvmf_dev_open(struct inode *inode, struct file *file)
0 commit comments