From nobody Mon Jun 8 23:56:08 2026 Received: from out-171.mta0.migadu.com (out-171.mta0.migadu.com [91.218.175.171]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 01540125AA for ; Mon, 25 May 2026 09:19:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.171 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779700756; cv=none; b=MtsFmB7kr+49X5ng7SlxR+XC5AHWhnzkyuxKLVabVk2MpoIWE7wztNV5eWvdNeVjcXIT3z5bn3uQ7I1sPNx8BsTl/4u75SQAg5ZFpBLYXHtwjaRP08jVzAup7lsLfobwpUyEJ/0IhinRJ7LjFJBnF+K9zTKN56lPdeoZFAQ8p7c= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1779700756; c=relaxed/simple; bh=bYTr7dMFvw0f5ETNnXjiH8BkSD8Vt3/LaGhBaWmrUK4=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=Mznb7oNmKNmwQqeop/GVk23ckchC3gKqDhRCNpEGbc77RkubFTcvTSCrKM+NRGKgQEeP87XqwrFk+HpGoA6Rd0cqeovjIjivRmLDOc4rAIuUrrsF4GBHpQNTueWbc5DoTf9HyIqOZeWb2RLt6UvexH24jGngO7AJin1VhgXnVy8= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Nov3CBo5; arc=none smtp.client-ip=91.218.175.171 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Nov3CBo5" X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1779700752; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=VrOW/I0AhnH98RpVRFWb314iNXmV5hytIroWWKpv2so=; b=Nov3CBo5ZL4DGpFXKFhALDSqH4W2gYoyfnZYGyO+8AP9bWqTgrGnQrsdyIgjERCnj3dXRy N3Y+6be52L0rIGkyNkZ2Jb1ac/0n1uNgocfkPNterm/fJREIBlaiAHAin6btCRETle1PM7 efufVOPViP/Eux1JEMFDsdoOv+mKtvI= From: Thorsten Blum To: Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" Cc: Thorsten Blum , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH] powerpc/boot: remove unused min_t/max_t macros Date: Mon, 25 May 2026 11:18:39 +0200 Message-ID: <20260525091839.817778-3-thorsten.blum@linux.dev> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-Developer-Signature: v=1; a=openpgp-sha256; l=642; i=thorsten.blum@linux.dev; h=from:subject; bh=bYTr7dMFvw0f5ETNnXjiH8BkSD8Vt3/LaGhBaWmrUK4=; b=owGbwMvMwCUWt7pQ4caZUj3G02pJDFkiwu9Pqax9/0/oGPOaU9MDe0ynaL2QC85n7dPo2pg4j +n5Vz6RjlIWBjEuBlkxRZYHs37M8C2tqdxkErETZg4rE8gQBi5OAZiI0mtGht3LmmK+bnJyDdhS +WDTtKM3jr+O1Ns7YfYcD5f0xF2RfMsZGdqzlofJ/xDqfPUs65P+44fv7juXHn14evXh3fob7f+ HbuEDAA== X-Developer-Key: i=thorsten.blum@linux.dev; a=openpgp; fpr=1D60735E8AEF3BE473B69D84733678FD8DFEEAD4 Content-Transfer-Encoding: quoted-printable X-Migadu-Flow: FLOW_OUT Content-Type: text/plain; charset="utf-8" The min_t() and max_t() macros are no longer used by the boot wrapper, remove them. Signed-off-by: Thorsten Blum --- arch/powerpc/boot/types.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/arch/powerpc/boot/types.h b/arch/powerpc/boot/types.h index 8a4c418b7260..c5085c2632bf 100644 --- a/arch/powerpc/boot/types.h +++ b/arch/powerpc/boot/types.h @@ -37,9 +37,6 @@ typedef s64 int64_t; (void) (&_x =3D=3D &_y); \ _x > _y ? _x : _y; }) =20 -#define min_t(type, a, b) min(((type) a), ((type) b)) -#define max_t(type, a, b) max(((type) a), ((type) b)) - typedef int bool; =20 #ifndef true