nvme: remove sgs and sws
authorKanchan Joshi <joshi.k@samsung.com>
Fri, 24 May 2024 10:34:48 +0000 (16:04 +0530)
committerKeith Busch <kbusch@kernel.org>
Fri, 24 May 2024 15:57:40 +0000 (08:57 -0700)
sgs/sws are unused, so remove these from nvme_ns_head structure.

Signed-off-by: Kanchan Joshi <joshi.k@samsung.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Keith Busch <kbusch@kernel.org>
drivers/nvme/host/nvme.h

index fc31bd340a63a2ff9a191d2287a46b4be8334d25..c43a30753d87a84f8d1c052a0bd6a027ec57ee63 100644 (file)
@@ -471,8 +471,6 @@ struct nvme_ns_head {
        u8                      pi_type;
        u8                      pi_offset;
        u8                      guard_type;
-       u16                     sgs;
-       u32                     sws;
 #ifdef CONFIG_BLK_DEV_ZONED
        u64                     zsze;
 #endif