diff options
author | Keith Busch <kbusch@kernel.org> | 2020-11-13 21:28:30 +0300 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2020-11-14 11:57:55 +0300 |
commit | f6224b8681326856937420e1db18564a934bf32b (patch) | |
tree | 9150e1c2d48c996506980de81d6852ab24b2fd2a /drivers/nvme/host/nvme.h | |
parent | 0f0d2c876c96d4908a9ef40959a44bec21bdd6cf (diff) | |
download | linux-f6224b8681326856937420e1db18564a934bf32b.tar.xz |
nvme: directly cache command effects log
Remove the struct used for tracking known command effects logs in a
list. This is now saved in an xarray that doesn't use these elements.
Instead, store the log directly instead of the wrapper struct.
Signed-off-by: Keith Busch <kbusch@kernel.org>
Signed-off-by: Christoph Hellwig <hch@lst.de>
Diffstat (limited to 'drivers/nvme/host/nvme.h')
-rw-r--r-- | drivers/nvme/host/nvme.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/nvme/host/nvme.h b/drivers/nvme/host/nvme.h index bc330bf0d3bd..567f7ad18a91 100644 --- a/drivers/nvme/host/nvme.h +++ b/drivers/nvme/host/nvme.h @@ -226,12 +226,6 @@ struct nvme_fault_inject { #endif }; -struct nvme_cel { - struct list_head entry; - struct nvme_effects_log log; - u8 csi; -}; - struct nvme_ctrl { bool comp_seen; enum nvme_ctrl_state state; |