From 53c184cf06055fea79893e5620711fe164282480 Mon Sep 17 00:00:00 2001 From: Alexander Motin Date: Mon, 9 May 2022 17:55:47 -0400 Subject: [PATCH] mpsutil: fix set but not used warning MFC after: 1 week --- usr.sbin/mpsutil/mps_debug.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr.sbin/mpsutil/mps_debug.c b/usr.sbin/mpsutil/mps_debug.c index 4c462ef65f6c..83315090d730 100644 --- a/usr.sbin/mpsutil/mps_debug.c +++ b/usr.sbin/mpsutil/mps_debug.c @@ -136,11 +136,9 @@ print_sgl(char *buf, int offset, int numframes) { MPI2_SGE_SIMPLE64 *sge; MPI2_SGE_CHAIN_UNION *sgc; - MPI2_REQUEST_HEADER *req; u_int i = 0, flags; char *frame, tmpbuf[128]; - req = (MPI2_REQUEST_HEADER *)buf; frame = (char *)buf; sge = (MPI2_SGE_SIMPLE64 *)&frame[offset * 4]; printf("SGL for command\n");