From nobody Wed Jan 31 14:29:15 2024 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 4TQ4DD23CZz58dSb; Wed, 31 Jan 2024 14:29:16 +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 4TQ4DD1Ww8z4rhw; Wed, 31 Jan 2024 14:29:16 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706711356; 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=s61VgGTSMDrMvjFw8Zh0y1srMFgxEDW1UPIs2uXizyA=; b=AEqENDJQpC76vF+q/eg7DS8E4BX+1RCw3wDs0BY4x3wPICef8P9qGF0mMUnzo7t8ry4nt1 xbT2mzHTxYIfN0Kcr4TC0Hmw8r3P+E0GVMHur+Y9kD597qjEUVvz6rMpKeaeMnx8lJqLYF bHkKgfgFv9J3J81zHeQfh+Wm7SqOHSrQtMTYht4ddNbFYoXELVGCCavxAqLaqKRIlGGaP1 qRmv2Sy/eSNyVZvDSWstyWCTtWtDGhKJli7He+9zMe/2w/hiD7fe+HaoVir/fT2fIlHg59 DLescDygoiVZn1OYTfWJD7nuBBLuzs+cAOvxAQkBeJhAozM3v32uLCLgNq3mfA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1706711356; 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=s61VgGTSMDrMvjFw8Zh0y1srMFgxEDW1UPIs2uXizyA=; b=b/7kfZjf1+OxZiFseoD+MxRlxsA1HYfFb5t8xXIykBvKeCNvSe8RFKUkApYk8b1UtgDP/S 3iFqAvE7IcalJBkLSPbDqOkOvBcM55Fd+6YxSIpcw+73vcXLCNcijPmCOKxdc7C4eHAPW1 pma0NDwVBQ0Lil23blXKQ3rjVetkqYH9v/PmyphzUAAwXhEcioFxJDGnQEX7gvFKvBfi5H 8cZUHbPQoTzds73o2SV3EAV3wBm2Zpg0XIyTlujBsepiprWNbL7HvXTccMQL4EooyKEDZt OxpA1pwaRLNAgX72H7AjVwOGywTc0NtiJG145TCqUGcPP+kgJ5PNJD409vVqPA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1706711356; a=rsa-sha256; cv=none; b=FRgFZLRXwEH96z2nCW8m5K157kiVmhmspYvXR28Oic6WB/hjsXBSZvREUzX64ZI8mHlSck Rv6zSSeyrfJ0p5ItSKuRDnY7lYlTbYxOJdcVGQnWNSIy/UxASStuvIBy2A4z9DC64G1Lgl Bq6RTbiSRoc5FzTHAAmdxSDayutk3wMiipkUKniSw3YOnUvBR/DNIazOT8vp35sS0R9JKD kCznCiX8vKZD4oCOF7JenaPHV8ig1Y585RC0zPYRPOsqRvmb6sS0lRatYgfFk8J0HZZfmg uvUC9Pjbi9ZeowoayJgzW/GD+mArEDopQiR08DXj1G0CoaDNQ1dwSrHYfcU3Uw== 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 4TQ4DD0bYMzM4D; Wed, 31 Jan 2024 14:29:16 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 40VETFqq042393; Wed, 31 Jan 2024 14:29:15 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 40VETFHK042390; Wed, 31 Jan 2024 14:29:15 GMT (envelope-from git) Date: Wed, 31 Jan 2024 14:29:15 GMT Message-Id: <202401311429.40VETFHK042390@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Mark Johnston Subject: git: da2bb86507b7 - stable/13 - mpsutil: Clean up libutil deps 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: markj X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: da2bb86507b78b6c58e49c85db25fb4be1c3f4b5 Auto-Submitted: auto-generated The branch stable/13 has been updated by markj: URL: https://cgit.FreeBSD.org/src/commit/?id=da2bb86507b78b6c58e49c85db25fb4be1c3f4b5 commit da2bb86507b78b6c58e49c85db25fb4be1c3f4b5 Author: Mark Johnston AuthorDate: 2024-01-24 19:47:56 +0000 Commit: Mark Johnston CommitDate: 2024-01-31 14:17:25 +0000 mpsutil: Clean up libutil deps mpsutil doesn't use libutil, so doesn't need to include libutil.h. See commit 76103694a051335bec1da318f9c6e3a676dc0145. No functional change intended. MFC after: 1 week (cherry picked from commit d56ce5915c41517ccc7de2510daec200e100ef68) --- usr.sbin/mpsutil/Makefile | 4 ---- usr.sbin/mpsutil/mps_debug.c | 1 - usr.sbin/mpsutil/mps_set.c | 1 - usr.sbin/mpsutil/mps_show.c | 1 - 4 files changed, 7 deletions(-) diff --git a/usr.sbin/mpsutil/Makefile b/usr.sbin/mpsutil/Makefile index a19c2f310167..aa59d8cddf76 100644 --- a/usr.sbin/mpsutil/Makefile +++ b/usr.sbin/mpsutil/Makefile @@ -1,17 +1,13 @@ - PROG= mpsutil SRCS= mps_cmd.c mps_debug.c mps_flash.c mps_set.c mps_show.c mps_slot.c mpsutil.c MAN= mpsutil.8 WARNS?= 3 -#LIBADD= cam util LINKS= ${BINDIR}/mpsutil ${BINDIR}/mprutil MLINKS= mpsutil.8 mprutil.8 CFLAGS+= -I${SRCTOP}/sys -I. -DUSE_MPT_IOCTLS -# Avoid dirdep dependency on libutil -CFLAGS+= -I${SRCTOP}/lib/libutil # Here be dragons .ifdef DEBUG diff --git a/usr.sbin/mpsutil/mps_debug.c b/usr.sbin/mpsutil/mps_debug.c index a3297b4176cd..7fabd41ab00b 100644 --- a/usr.sbin/mpsutil/mps_debug.c +++ b/usr.sbin/mpsutil/mps_debug.c @@ -33,7 +33,6 @@ #include #include #include -#include #include #include #include diff --git a/usr.sbin/mpsutil/mps_set.c b/usr.sbin/mpsutil/mps_set.c index b75f327cb993..8dd42a0acb41 100644 --- a/usr.sbin/mpsutil/mps_set.c +++ b/usr.sbin/mpsutil/mps_set.c @@ -29,7 +29,6 @@ #include #include #include -#include #include #include #include diff --git a/usr.sbin/mpsutil/mps_show.c b/usr.sbin/mpsutil/mps_show.c index 6efa9b76dd3d..15c88f72ad0b 100644 --- a/usr.sbin/mpsutil/mps_show.c +++ b/usr.sbin/mpsutil/mps_show.c @@ -36,7 +36,6 @@ #include #include #include -#include #include #include #include