From 611a047766015343c7886f6908e2732a7605e2d0 Mon Sep 17 00:00:00 2001 From: Francis Pravin Date: Fri, 12 Jul 2024 11:56:23 +0530 Subject: [PATCH] fix checkpatch review warning --- nvme.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/nvme.c b/nvme.c index b9ac1ac4d5..fd0e9e976d 100644 --- a/nvme.c +++ b/nvme.c @@ -7893,9 +7893,8 @@ static int submit_io(int opcode, char *command, const char *desc, int argc, char return -ENOMEM; err = nvme_identify_ns_csi(dev_fd(dev), cfg.namespace_id, 0, NVME_CSI_NVM, nvm_ns); - if (!err) { + if (!err) get_pif_sts(ns, nvm_ns, &pif, &sts); - } pi_size = (pif == NVME_NVM_PIF_16B_GUARD) ? 8 : 16; if (NVME_FLBAS_META_EXT(ns->flbas)) {