]> www.infradead.org Git - users/sagi/nvme-cli.git/commitdiff
nvme-wrap: remove unused nvme_cli_get_log_ana_groups()
authorCaleb Sander Mateos <csander@purestorage.com>
Wed, 1 May 2024 17:52:27 +0000 (11:52 -0600)
committerDaniel Wagner <wagi@monom.org>
Fri, 3 May 2024 11:40:27 +0000 (13:40 +0200)
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 <csander@purestorage.com>
nvme-wrap.c
nvme-wrap.h

index 5df562a4587cc27ae6193b3aef002253074ff724..9e2d30c1f5a0c52bc69e0817b1d7fb039f86c6b4 100644 (file)
@@ -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)
 {
index c18115d224a4d026099af3b474d1d4b6c18fe748..7fcaad964220badd274d0c5e231bf078038ea2a3 100644 (file)
@@ -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,