From 757b75b292087dfb13bc1e2bc901df474f729dd3 Mon Sep 17 00:00:00 2001 From: Daniel Wagner Date: Mon, 20 Dec 2021 11:51:37 +0100 Subject: [PATCH] nvme: Remove unused function decleration There is no implementation for these functions and no user. Remove it. Signed-off-by: Daniel Wagner --- nvme-private.h | 1 - nvme.h | 1 - 2 files changed, 2 deletions(-) diff --git a/nvme-private.h b/nvme-private.h index 1fd4eb26..17185fc5 100644 --- a/nvme-private.h +++ b/nvme-private.h @@ -63,7 +63,6 @@ int scan_subsystems(struct nvme_topology *t, const char *subsysnqn, __u32 ns_instance, int nsid, char *dev_dir); void free_topology(struct nvme_topology *t); char *get_nvme_subsnqn(char *path); -char *nvme_get_ctrl_attr(const char *path, const char *attr); int uuid_from_dmi(char *uuid); int uuid_from_systemd(char *uuid); diff --git a/nvme.h b/nvme.h index df43218c..78693477 100644 --- a/nvme.h +++ b/nvme.h @@ -83,7 +83,6 @@ extern const char *output_format; enum nvme_print_flags validate_output_format(const char *format); int __id_ctrl(int argc, char **argv, struct command *cmd, struct plugin *plugin, void (*vs)(uint8_t *vs, struct json_object *root)); -char *nvme_char_from_block(char *block); extern int current_index; void *nvme_alloc(size_t len, bool *huge); -- 2.50.1