diff options
| author | Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com> | 2021-02-24 17:56:37 -0800 |
|---|---|---|
| committer | Christoph Hellwig <hch@lst.de> | 2021-04-02 18:48:25 +0200 |
| commit | 76affbe6d608490c6c762428b6a0748c9b797a1e (patch) | |
| tree | 8dd430613975fe588cd7299e74ac8beb61bdae6b /tools/perf/scripts/python/syscall-counts.py | |
| parent | nvme-pci: cleanup nvme_irq() (diff) | |
| download | linux-76affbe6d608490c6c762428b6a0748c9b797a1e.tar.gz linux-76affbe6d608490c6c762428b6a0748c9b797a1e.zip | |
nvmet: remove a duplicate status assignment in nvmet_alloc_ctrl
In the function nvmet_alloc_ctrl() we assign status value before we
call nvmet_fine_get_subsys() to:
status = NVME_SC_CONNECT_INVALID_PARAM | NVME_SC_DNR;
After we successfully find the subsystem we again set the status value
to:
status = NVME_SC_CONNECT_INVALID_PARAM | NVME_SC_DNR;
Remove the duplicate status assignment value.
Signed-off-by: Chaitanya Kulkarni <chaitanya.kulkarni@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions
