]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme: remove redundant structure of primary controller capabilities
authorGollu Appalanaidu <anaidu.gollu@samsung.com>
Fri, 2 Apr 2021 15:41:02 +0000 (21:11 +0530)
committerKeith Busch <kbusch@kernel.org>
Fri, 2 Apr 2021 15:56:45 +0000 (09:56 -0600)
In recent PR that merged has redundant/duplicate structure
with name "nvme_pri_ctrl_caps" that has already defined with
name "nvme_primary_ctrl_caps" and its been used.

Signed-off-by: Gollu Appalanaidu <anaidu.gollu@samsung.com>
linux/nvme.h

index 3aabd8e8c7d56185684d99c60507179b0e49438b..4ad09eec7309107e459a4847d592e3c276e6532e 100644 (file)
@@ -354,27 +354,6 @@ struct nvme_id_ctrl {
        __u8                    vs[1024];
 };
 
-struct nvme_pri_ctrl_caps {
-       __le16                  cntlid;
-       __le16                  portid;
-       __u8                    crt;
-       __u8                    rsvd5[27];
-       __le32                  vqfrt;
-       __le32                  vqrfa;
-       __le16                  vqrfap;
-       __le16                  vqprt;
-       __le16                  vqfrsm;
-       __le16                  vqgran;
-       __u8                    rsvd48[16];
-       __le32                  vifrt;
-       __le32                  virfa;
-       __u16                   virfap;
-       __u16                   viprt;
-       __u16                   vifrsm;
-       __u16                   vigran;
-       __u8                    rsvd80[4016];
-};
-
 enum {
        NVME_CTRL_ONCS_COMPARE                  = 1 << 0,
        NVME_CTRL_ONCS_WRITE_UNCORRECTABLE      = 1 << 1,