From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-182.mta1.migadu.com (out-182.mta1.migadu.com [95.215.58.182]) (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 1E9D73B14C1 for ; Mon, 13 Jul 2026 09:18:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=95.215.58.182 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783934299; cv=none; b=CpfBPgqJoS2192hLSySviupYtm1454Pl1bfeXj4CXhBEqI1vRqLnLnxlo25LC5lNMi5hsqyZKnBxRv2jnSYxiDWfY738pNZf1yPno+Y6udEyO1v0Wh7BhATZnVciU5ZJkaRDnU2CBKKzSCDI91b1N/N8MvRK60r1j85SZ3e5f8k= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1783934299; c=relaxed/simple; bh=0QllfgppfNv919iu5jYMesoTAu561AihBZ3Gb2mToeg=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=ihBwV6TEDdihaKDO6J7H9j1sdIzGJ7hg04+kn96vtGF7fwEaJ6dI6YieAxOTUTJ93AxnMc6VAJ1fAvztIdsMMGa5VSt/deHz1KjX3RvJl32T932/8NLRxiijgUH9IynwqVIffFrO1BJOmsU9voJDXREJClfruiBNvRqURref/MM= 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=TfVF6Lf1; arc=none smtp.client-ip=95.215.58.182 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="TfVF6Lf1" 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=1783934295; 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=sFpT67XLroRUR1tvK6l4iM6XlbsDUuWFj6EH23CJ/oc=; b=TfVF6Lf1EWDOMhw4OdXNN4PHjn2bwnY1/EKxUg6iRwcQrRosRlpcF66iEtFrKwG3sKY3Yv Ck8H/voD973T/BjYJSwAfAx7KiYme4Yzurl3pFTXaWBlLsF6611+PNhdRntHcuir8In6EC 4+feGSMExwihBfmMoAAwgnVXwDp3E0c= From: Thorsten Blum To: Geoff Levand , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin , "Christophe Leroy (CS GROUP)" Cc: Amit Machhiwal , Thorsten Blum , Geert Uytterhoeven , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org Subject: [PATCH v2] powerpc/ps3: Remove unused struct table in setup_areas() Date: Mon, 13 Jul 2026 11:17:33 +0200 Message-ID: <20260713091731.97212-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=970; i=thorsten.blum@linux.dev; h=from:subject; bh=0QllfgppfNv919iu5jYMesoTAu561AihBZ3Gb2mToeg=; b=owGbwMvMwCUWt7pQ4caZUj3G02pJDFkha7Ujnpi0Ma52XuKcfcGq7Jyjv9m2STeP/9R98Of8k /DNj39M7ihlYRDjYpAVU2R5MOvHDN/SmspNJhE7YeawMoEMYeDiFICJbJjI8D/BwCP66BZRi4/N x9+u2cHGcD2bw0rTcfaplbrzCzWuK/xnZDi+TG2X764th8PbforsDJ2x3muF4DL/FXFfVgl9viq 29QcjAA== X-Developer-Key: i=thorsten.blum@linux.dev; a=openpgp; fpr=1D60735E8AEF3BE473B69D84733678FD8DFEEAD4 Content-Transfer-Encoding: 8bit X-Migadu-Flow: FLOW_OUT The local table structure is not used - remove it. Reviewed-by: Geert Uytterhoeven Signed-off-by: Thorsten Blum --- Changes in v2: - Drop the %0 change because it is valid kernel-doc markup (Amit) - v1: https://lore.kernel.org/r/20260712151300.3664-3-thorsten.blum@linux.dev/ --- arch/powerpc/platforms/ps3/spu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/powerpc/platforms/ps3/spu.c b/arch/powerpc/platforms/ps3/spu.c index e817def7f424..2c785bc72565 100644 --- a/arch/powerpc/platforms/ps3/spu.c +++ b/arch/powerpc/platforms/ps3/spu.c @@ -190,8 +190,6 @@ static void spu_unmap(struct spu *spu) static int __init setup_areas(struct spu *spu) { - struct table {char* name; unsigned long addr; unsigned long size;}; - spu_pdata(spu)->shadow = ioremap_prot(spu_pdata(spu)->shadow_addr, sizeof(struct spe_shadow), pgprot_noncached_wc(PAGE_KERNEL_RO));