Skip to content

Commit

Permalink
nvme-wrap: remove unused nvme_cli_get_log_ana_groups()
Browse files Browse the repository at this point in the history
nvme_cli_get_log_ana_groups() is not called anywhere.
In preparation for a libnvme change that changes the signature
of nvme_get_log_ana_groups(), just remove the function.

Signed-off-by: Caleb Sander Mateos <[email protected]>
  • Loading branch information
calebsander authored and igaw committed May 3, 2024
1 parent dc2f871 commit f41819e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions nvme-wrap.c
Original file line number Diff line number Diff line change
Expand Up @@ -264,12 +264,6 @@ int nvme_cli_get_log_ana(struct nvme_dev *dev,
return do_admin_op(get_log_ana, dev, lsp, rae, offset, len, log);
}

int nvme_cli_get_log_ana_groups(struct nvme_dev *dev, bool rae, __u32 len,
struct nvme_ana_group_desc *log)
{
return do_admin_op(get_log_ana_groups, dev, rae, len, log);
}

int nvme_cli_get_log_lba_status(struct nvme_dev *dev, bool rae,
__u64 offset, __u32 len, void *log)
{
Expand Down
2 changes: 0 additions & 2 deletions nvme-wrap.h
Original file line number Diff line number Diff line change
Expand Up @@ -92,8 +92,6 @@ int nvme_cli_get_log_predictable_lat_event(struct nvme_dev *dev, bool rae,
int nvme_cli_get_log_ana(struct nvme_dev *dev,
enum nvme_log_ana_lsp lsp, bool rae,
__u64 offset, __u32 len, void *log);
int nvme_cli_get_log_ana_groups(struct nvme_dev *dev, bool rae, __u32 len,
struct nvme_ana_group_desc *log);
int nvme_cli_get_log_lba_status(struct nvme_dev *dev, bool rae,
__u64 offset, __u32 len, void *log);
int nvme_cli_get_log_endurance_grp_evt(struct nvme_dev *dev, bool rae,
Expand Down

0 comments on commit f41819e

Please sign in to comment.