Skip to content

Commit 5c34225

Browse files
committed
nvme-print-stdout: delete stdout_feat_perfc fid parameter unused
The fid paramter set but the function does not used the value. Signed-off-by: Tokunori Ikegami <[email protected]>
1 parent 31290e0 commit 5c34225

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

nvme-print-stdout.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5083,7 +5083,7 @@ static void stdout_feat_perfc_vs(struct nvme_vs_perf_attr *data)
50835083
d((unsigned char *)data->vs, data->attrl, 16, 1);
50845084
}
50855085

5086-
static void stdout_feat_perfc(enum nvme_features_id fid, unsigned int result,
5086+
static void stdout_feat_perfc(unsigned int result,
50875087
struct nvme_perf_characteristics *data)
50885088
{
50895089
__u8 attri;
@@ -5364,7 +5364,8 @@ static void stdout_feature_show_fields(enum nvme_features_id fid,
53645364
nvme_pls_mode_to_string(NVME_GET(result, FEAT_PLS_MODE)));
53655365
break;
53665366
case NVME_FEAT_FID_PERF_CHARACTERISTICS:
5367-
stdout_feat_perfc(fid, result, (struct nvme_perf_characteristics *)buf);
5367+
stdout_feat_perfc(result,
5368+
(struct nvme_perf_characteristics *)buf);
53685369
break;
53695370
case NVME_FEAT_FID_ENH_CTRL_METADATA:
53705371
case NVME_FEAT_FID_CTRL_METADATA:

0 commit comments

Comments
 (0)