Skip to content

Commit 251f3b7

Browse files
committed
nvme: Remove duplicated variables
already defined as static const char variable Signed-off-by: Steven Seungcheol Lee <[email protected]>
1 parent a57c1b3 commit 251f3b7

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

nvme.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2710,7 +2710,6 @@ static int list_ns(int argc, char **argv, struct command *acmd, struct plugin *p
27102710
const char *desc = "For the specified controller handle, show the "
27112711
"namespace list in the associated NVMe subsystem, optionally starting with a given nsid.";
27122712
const char *namespace_id = "first nsid returned list should start from";
2713-
const char *csi = "I/O command set identifier";
27142713
const char *all = "show all namespaces in the subsystem, whether attached or inactive";
27152714

27162715
_cleanup_free_ struct nvme_ns_list *ns_list = NULL;
@@ -3178,7 +3177,6 @@ static int create_ns(int argc, char **argv, struct command *acmd, struct plugin
31783177
const char *nmic = "multipath and sharing capabilities (NMIC)";
31793178
const char *anagrpid = "ANA Group Identifier (ANAGRPID)";
31803179
const char *nvmsetid = "NVM Set Identifier (NVMSETID)";
3181-
const char *csi = "command set identifier (CSI)";
31823180
const char *lbstm = "logical block storage tag mask (LBSTM)";
31833181
const char *nphndls = "Number of Placement Handles (NPHNDLS)";
31843182
const char *bs = "target block size, specify only if \'FLBAS\' value not entered";
@@ -5965,8 +5963,6 @@ static int get_register(int argc, char **argv, struct command *acmd, struct plug
59655963
const char *pmrsts = "PMRSTS=0xe08 register offset";
59665964
const char *pmrebs = "PMREBS=0xe0c register offset";
59675965
const char *pmrswtp = "PMRSWTP=0xe10 register offset";
5968-
const char *pmrmscl = "PMRMSCL=0xe14 register offset";
5969-
const char *pmrmscu = "PMRMSCU=0xe18 register offset";
59705966

59715967
_cleanup_nvme_global_ctx_ struct nvme_global_ctx *ctx = NULL;
59725968
_cleanup_nvme_transport_handle_ struct nvme_transport_handle *hdl = NULL;

0 commit comments

Comments
 (0)