git: 9d0620722654 - stable/13 - mpsutil: fix set but not used warning
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 16 May 2022 14:25:31 UTC
The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=9d0620722654cf65ce9fa6f1938b213f7130a578 commit 9d0620722654cf65ce9fa6f1938b213f7130a578 Author: Alexander Motin <mav@FreeBSD.org> AuthorDate: 2022-05-09 21:55:47 +0000 Commit: Alexander Motin <mav@FreeBSD.org> CommitDate: 2022-05-16 13:53:02 +0000 mpsutil: fix set but not used warning MFC after: 1 week (cherry picked from commit 53c184cf06055fea79893e5620711fe164282480) --- 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");