]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
seastore/rbm: remove unused bits in nvmedevice.h
authormyoungwon oh <ohmyoungwon@gmail.com>
Fri, 11 Jun 2021 13:35:05 +0000 (22:35 +0900)
committermyoungwon oh <ohmyoungwon@gmail.com>
Tue, 15 Jun 2021 02:09:06 +0000 (11:09 +0900)
Signed-off-by: Myoungwon Oh <myoungwon.oh@samsung.com>
src/crimson/os/seastore/random_block_manager/nvmedevice.h

index 61d07f3e3a42814f0175fd4d75b48a40580b90fd..1a1add921f362ef2c4ef65454cc43677bc6b0985 100644 (file)
@@ -58,51 +58,6 @@ struct nvme_admin_command_t {
   static const uint8_t OPCODE_IDENTIFY = 0x06;
 };
 
-struct nvme_version_t {
-  uint32_t major_ver : 16;
-  uint32_t minor_ver : 8;
-  uint32_t tertiary_ver : 8;
-};
-
-struct admin_command_support_t {
-  uint16_t unused : 5;
-  uint16_t support_directives : 1;
-  uint16_t unused2 : 10;
-};
-
-struct identify_controller_data_t {
-  union
-  {
-    struct
-    {
-      uint8_t raw[1024];
-    };
-    struct
-    {
-      uint8_t unused[80];
-      nvme_version_t version;
-      uint8_t unused2[172];
-      admin_command_support_t oacs;
-    };
-  };
-};
-
-struct identify_namespace_data_t {
-  union
-  {
-    struct
-    {
-      uint8_t raw[4096];
-    };
-    struct
-    {
-      uint8_t unused[64];
-      uint16_t npwg;
-      uint16_t npwa;
-    };
-  };
-};
-
 using NVMePassThroughCommand = nvme_passthru_cmd;
 
 using read_ertr = crimson::errorator<