diff options
| author | Andrey Smirnov <[email protected]> | 2019-01-07 19:08:49 -0800 |
|---|---|---|
| committer | Christoph Hellwig <[email protected]> | 2019-01-09 13:47:08 -0500 |
| commit | b8a38ea64dc714a64f8fb76e311a4f15a3f67861 (patch) | |
| tree | 8cf26b22c6592b7456aef2c8e39a4f0d7679522a /include/linux/fpga/fpga-bridge.h | |
| parent | 6299358d198a0635da2dd3c4b3ec37789e811e44 (diff) | |
nvme: don't initlialize ctrl->cntlid twice
ctrl->cntlid will already be initialized from id->cntlid for
non-NVME_F_FABRICS controllers few lines below. For NVME_F_FABRICS
controllers this field should already be initialized, otherwise the
check
if (ctrl->cntlid != le16_to_cpu(id->cntlid))
below will always be a no-op.
Signed-off-by: Andrey Smirnov <[email protected]>
Reviewed-by: Keith Busch <[email protected]>
Reviewed-by: Sagi Grimberg <[email protected]>
Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'include/linux/fpga/fpga-bridge.h')
0 files changed, 0 insertions, 0 deletions