Skip to content

Commit 4853592

Browse files
committed
mi: remove unused nvme_mi_admin_identify()
We have helpers that use identify_partial for this functionality, and hadn't exported nvme_mi_admin_identify(). Signed-off-by: Jeremy Kerr <[email protected]>
1 parent e1e659f commit 4853592

1 file changed

Lines changed: 0 additions & 14 deletions

File tree

src/nvme/mi.c

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -194,20 +194,6 @@ int nvme_mi_admin_identify_partial(nvme_mi_ctrl_t ctrl,
194194
return 0;
195195
}
196196

197-
int nvme_mi_admin_identify_ctrl(nvme_mi_ctrl_t ctrl,
198-
struct nvme_id_ctrl *id)
199-
{
200-
struct nvme_identify_args id_args = {
201-
.args_size = sizeof(id_args),
202-
.data = id,
203-
.cns = NVME_IDENTIFY_CNS_CTRL,
204-
.nsid = NVME_NSID_NONE,
205-
.cntid = ctrl->id,
206-
};
207-
208-
return nvme_mi_admin_identify(ctrl, &id_args);
209-
}
210-
211197
static int nvme_mi_read_data(nvme_mi_ep_t ep, __u32 cdw0,
212198
void *data, size_t *data_len)
213199
{

0 commit comments

Comments
 (0)