git: 53c184cf0605 - main - mpsutil: fix set but not used warning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 09 May 2022 22:03:32 UTC
The branch main has been updated by mav:
URL: https://cgit.FreeBSD.org/src/commit/?id=53c184cf06055fea79893e5620711fe164282480
commit 53c184cf06055fea79893e5620711fe164282480
Author: Alexander Motin <mav@FreeBSD.org>
AuthorDate: 2022-05-09 21:55:47 +0000
Commit: Alexander Motin <mav@FreeBSD.org>
CommitDate: 2022-05-09 22:03:24 +0000
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");