From nobody Mon May 16 14:25:31 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id F3C6D1AD55FD; Mon, 16 May 2022 14:25:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4L21kM5GfGz3N2b; Mon, 16 May 2022 14:25:31 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652711131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/3Emh3ACKPkohTeFLkb9txFqpJrBRmq3a1sDAlFWkE4=; b=xDpmyB8ZK6FBAF3CexaIEiGLKoo277MdIqrdZBe8ncPkHcIxWSQ0dL5GX2yHKvye7PAq1r NcSw6/WN0D9gV62EhG1cZEbuEipeVH9Kpx/RdJiXg0dqWOCvv+6dG5JlKyOvxnsRz1wxly h5F6jkhSdOqzZxsEMXCwNSELew8s3fJvUa/KrysdhPArvpjsfMwAzcHlRNil60Sh3I3InH 7hITBek6wYwxLqudwr+BE6zEhinUWS6UIl3MtgSilxBb/BhJtyLd73WMwz3dakTFEa2YkU TFtiwb9T57ssc/fdgJ+1ERGmU84jew33aFz9WbCGN5h8SOGi8hAIbMdicCCegA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 90DA921D86; Mon, 16 May 2022 14:25:31 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 24GEPVnm025643; Mon, 16 May 2022 14:25:31 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 24GEPV7W025642; Mon, 16 May 2022 14:25:31 GMT (envelope-from git) Date: Mon, 16 May 2022 14:25:31 GMT Message-Id: <202205161425.24GEPV7W025642@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Alexander Motin Subject: git: 9d0620722654 - stable/13 - mpsutil: fix set but not used warning List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mav X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 9d0620722654cf65ce9fa6f1938b213f7130a578 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1652711131; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=/3Emh3ACKPkohTeFLkb9txFqpJrBRmq3a1sDAlFWkE4=; b=gdvdew+TTjpMBkAtcIlR3sFrl2Kn+R6XIxxVAoyYmHYW5z11a92g2vGAcGjMlMfXJoADeM FRLD0W/bWO+Jm4KlcvJKbJBWE5YxQK0Wyp434+C9jDZ8Yl/aknhIeAn9r7heyiGA0D3D0J YRklpdneY03Qz5CcD1+eS/FL3/7x2UsIMM3gT/e8RDMFgVfooVxgdRmFN1asuj7uE2NfCF JAb2m8K1fIi/j4793AIhFK9ubzJ+dkWF+0FJ0IAkjSHwkleoPIh1obVWOsjawYa2yy4T01 T5rM7bP5fiOnuCQuXpaGp1KLR+fulHPQjEdq34XUo5r8Cua1oUTritC6YhhDzw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1652711131; a=rsa-sha256; cv=none; b=OWgtpIqBoZ2lv8Ub4uKpQg6kovywT0lTF4hOqgPfHv7hE02PWatJno4PAhE/YCkMULRcr0 l1Wiwb1WVguDfYZKBXTiy1tqfNKipqfGtP1OcNYSFA9QWggnDOjA/iIxeS9j+NwS+2osv3 DUAS4p4JwJ32hjLRbklcoTifoJZ+hHHD4rLZYrzVlhyGOjA1nKkKtf3xDMI4fMoKA4Tc4b rlOUl+TUfzwGxctcoK/sas2mR39U6rMQM1sl5IYY1lt9TPGKCgUi+eXr6N6RiS/4qcDrm4 OmSsZlyvrviN4/o3eXVVWYgs5RcTrdLhmabAT49X5a9WnR5wqHhw/HlOwzZNVQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by mav: URL: https://cgit.FreeBSD.org/src/commit/?id=9d0620722654cf65ce9fa6f1938b213f7130a578 commit 9d0620722654cf65ce9fa6f1938b213f7130a578 Author: Alexander Motin AuthorDate: 2022-05-09 21:55:47 +0000 Commit: Alexander Motin 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");