aboutsummaryrefslogtreecommitdiffstats
path: root/fs/btrfs/dev-replace.c
diff options
context:
space:
mode:
authorGeliang Tang <[email protected]>2021-12-22 09:32:44 +0000
committerChristoph Hellwig <[email protected]>2021-12-23 10:22:46 +0000
commit3a605e32a7f8f78d844b4272c257029c337a4352 (patch)
tree6298663b655567cb3a09ecc3407e51482e6930cd /fs/btrfs/dev-replace.c
parentnvme: increment request genctr on completion (diff)
downloadkernel-3a605e32a7f8f78d844b4272c257029c337a4352.tar.gz
kernel-3a605e32a7f8f78d844b4272c257029c337a4352.zip
nvme: drop unused variable ctrl in nvme_setup_cmd
The variable 'ctrl' became useless since the code using it was dropped from nvme_setup_cmd() in the commit 292ddf67bbd5 ("nvme: increment request genctr on completion"). Fix it to get rid of this compilation warning in the nvme-5.17 branch: drivers/nvme/host/core.c: In function ‘nvme_setup_cmd’: drivers/nvme/host/core.c:993:20: warning: unused variable ‘ctrl’ [-Wunused-variable] struct nvme_ctrl *ctrl = nvme_req(req)->ctrl; ^~~~ Fixes: 292ddf67bbd5 ("nvme: increment request genctr on completion") Signed-off-by: Geliang Tang <[email protected]> Signed-off-by: Christoph Hellwig <[email protected]>
Diffstat (limited to 'fs/btrfs/dev-replace.c')
0 files changed, 0 insertions, 0 deletions