From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 024D63A48C5 for ; Mon, 27 Jul 2026 13:17:34 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785158255; cv=none; b=gJdX+wNJPUavxysAL57YXG9Oa+GPP91EDYO/ptMYJi6HyT9PCOJTeywHSHClXyA4JUxGnzaB5iR5Z9ONKfEFJSQCeYwkNqArGOfw/npvD6x9aCcYsfLaeNM3BObly0uNXS2zwxvGuapeGdyuGvtwk3gICMomGck5x23fU5rLJ58= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1785158255; c=relaxed/simple; bh=TXE3fxcMSTqqvrxRCcbfUogLS10xVCkRwydOjD9f+R0=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=MMs1keJcwp/949IYEIfENx5uUGjYlGldfkQVtUiFyelwfvmNDQtCpBIz2FmcetLPN//wqEBGoW8sspguajKcg6pX9Iquu3mU4Ci/VMedrvby1o9l0Q1AhXXmb4XJNEHAmkZ13aWOhaM6P/p82vBp68FCkrQAXPQFtq1Ls29k8CQ= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=DXLUnOUT; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="DXLUnOUT" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 345681F000E9; Mon, 27 Jul 2026 13:17:32 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1785158253; bh=0dhGY5qOyKg1HnUm1GdMZpZ5x5pm3RsSCxu7+yDtRaY=; h=Date:Subject:To:Cc:References:From:In-Reply-To; b=DXLUnOUTKKtpodftG0pQNozDQ7a0nwj4fCmO1svt1LoEJ/xuf865NztgdFQdcPumz 2CY2dDA62wDuf0yorSbW5AHH/CGbsL+GoAmgtySoyDulzHp2vH32bpHlyc+m79wg+0 vAH/ZAEEhU4/AJZ/ECpB9IDFgVIMQlDWMHxu/0DLg3Bjt5Gy6sC69r5Sev58VoXGrD GaLJQm3dv0jKxJ+oJfBwiBzJurifsUJX7inWFHZlbTRf9x//bv6xRRXByvuJ3IVz8z jMMlGlGnpIRiTV0EAMZev8xRnScDGjUQPIhrgCZLYtpeFdzZJa9k3hkkWnmDHpCuen GlvYehZhW2siw== Message-ID: <6aa7b8f1-f614-4d54-a95e-eb658d0a251b@kernel.org> Date: Mon, 27 Jul 2026 15:17:31 +0200 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: [PATCH v2] powerpc/ps3: Remove unused struct table in setup_areas() To: Thorsten Blum , Geoff Levand , Madhavan Srinivasan , Michael Ellerman , Nicholas Piggin Cc: Amit Machhiwal , Geert Uytterhoeven , linuxppc-dev@lists.ozlabs.org, linux-kernel@vger.kernel.org References: <20260713091731.97212-3-thorsten.blum@linux.dev> Content-Language: fr-FR From: "Christophe Leroy (CS GROUP)" In-Reply-To: <20260713091731.97212-3-thorsten.blum@linux.dev> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Le 13/07/2026 à 11:17, Thorsten Blum a écrit : > The local table structure is not used - remove it. > > Reviewed-by: Geert Uytterhoeven > Signed-off-by: Thorsten Blum Reviewed-by: Christophe Leroy (CS GROUP) > --- > 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));