diff options
author | Nilay Shroff <[email protected]> | 2024-10-16 08:33:16 +0530 |
---|---|---|
committer | Keith Busch <[email protected]> | 2024-10-17 11:07:37 -0700 |
commit | 599d9f3a10eec69ef28a90161763e4bd7c9c02bf (patch) | |
tree | c36e34d27d5419c7819b931c44a1f6eaaef81d12 /drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c | |
parent | d06923670b5a5f609603d4a9fee4dec02d38de9c (diff) |
nvme: use helper nvme_ctrl_state in nvme_keep_alive_finish function
We no more need acquiring ctrl->lock before accessing the
NVMe controller state and instead we can now use the helper
nvme_ctrl_state. So replace the use of ctrl->lock from
nvme_keep_alive_finish function with nvme_ctrl_state call.
Reviewed-by: Christoph Hellwig <[email protected]>
Signed-off-by: Nilay Shroff <[email protected]>
Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_virt.c')
0 files changed, 0 insertions, 0 deletions