configure: Fix the struct nvme_uring_cmd detection
authorBart Van Assche <bvanassche@acm.org>
Sun, 13 Nov 2022 23:11:54 +0000 (15:11 -0800)
committerBart Van Assche <bvanassche@acm.org>
Sun, 13 Nov 2022 23:19:56 +0000 (15:19 -0800)
Prevent that struct nvme_uring_cmd detection fails as follows:

error: unused variable 'cmd' [-Werror=unused-variable]

Signed-off-by: Bart Van Assche <bvanassche@acm.org>
configure

index 60b58cd264c0082f8860e2344481e6fa542bd9eb..1b12d26899435cb2d407639759178ee1f2a7b6c1 100755 (executable)
--- a/configure
+++ b/configure
@@ -2638,8 +2638,6 @@ cat > $TMPC << EOF
 #include <linux/nvme_ioctl.h>
 int main(void)
 {
-  struct nvme_uring_cmd *cmd;
-
   return sizeof(struct nvme_uring_cmd);
 }
 EOF