From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=193.175.24.41 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796477617; b=S15SMXWh2+XxvaCd4bTSCgcDa6GKLS+T7yp2nwULKCWpAWu8aBc6kTpDGeinyXr7bb+k OGQwLZ2kb4ctKXC3uYHknx3V5BxaTASuLgXuOeWZvwHQF6l2FYtjpnnnMAjTRQHLF8ju7 /heQk7CIjCAIr0QX08YWbS2GBrs9yf0/4kqoUm4jgyed7RK5E5L5hTAgWPuU+IKDyJZF9 FvJwywEx05ofUmdHHFmQL5xWC7ico/YIjH56UV4EgeS3JMNCzU7Icu3mjJnD/0HexQsED 626Kv8e80I/WIQB7AJkXdEJxZNqJOSO4JafIpN/7tDAAZ9ECVK7wfwJMkuUAUwkEj8w== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796477617; h=DMARC-Filter:Received:Received:Date:From:To:Cc:Subject:Message-ID: References:MIME-Version:Content-Type:Content-Disposition:In-Reply-To; bh=FqR9geX2BxnMLJCA6T+QnvtVr0KqSzwvtDSw9YyqGD4=; b=Zch/cDP0RscepyT4Gj+rQIdBUw2cXOkufbVc/XqrgvQCwCwQtBnvE5nmG6oeCeW3DB5M lTrq1bWjqdLpqX+daXuAWxw0eTtbUYczy3WUp3Sc3B8Wg9YQqWTijS71BTCZVJMpvJYls 0r1CeahVL8gK6OfuFvkLVVpkyevX6XJ+0NUA9fMwY18G31wvT5tfN71ntbdQYksGntp9/ bNkYjGuVTX84I99KQ78unCl6n19nPdJnL1od7j9yH5y7IADLMIcW4i3YJIHbXpU3ApFe5 h0OBzueJEcBTjMMFQwRHmEHxqYKoxJyOsVqrywH8kmNgA+1QC/nKqysEwYHuMiwSWZQ== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=none header.from=alpha.franken.de; spf=pass smtp.mailfrom=alpha.franken.de; arc=none smtp.remote-ip=193.175.24.41 Received: from elvis.franken.de (elvis.franken.de [193.175.24.41]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CF26A606A334; Sat, 5 Dec 2026 13:33:35 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org CF26A606A334 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=alpha.franken.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=alpha.franken.de Received: by elvis.franken.de (Postfix, from userid 10) id BF7AD100494; Sat, 5 Dec 2026 14:33:33 +0100 (CET) Received: by alpha.franken.de (Postfix, from userid 1000) id 747F9C0D4D; Sat, 5 Dec 2026 14:32:20 +0100 (CET) Date: Sat, 5 Dec 2026 14:32:20 +0100 From: Thomas Bogendoerfer To: Imre Kaloz Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Lee Jones Subject: Re: [PATCH v2 11/53] MIPS: SGI-IP27: fold the dead SN1 arm out of klconfig.h Message-ID: References: X-Mailing-List: linux-mips@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Oct 13, 2026 at 03:16:31PM +0200, Imre Kaloz wrote: > klconfig.h's CONFIG_SGI_IP35 branch is unreachable: that symbol is > never selected, and the branch names headers that do not exist in > this tree. Fold its shared includes into the CONFIG_SGI_IP27 branch > and drop the unreachable rest. > > Signed-off-by: Imre Kaloz > --- > arch/mips/include/asm/sn/klconfig.h | 19 ++----------------- > 1 file changed, 2 insertions(+), 17 deletions(-) > > diff --git a/arch/mips/include/asm/sn/klconfig.h b/arch/mips/include/asm/sn/klconfig.h > index 3d1670b3e052..433d2d05aba3 100644 > --- a/arch/mips/include/asm/sn/klconfig.h > +++ b/arch/mips/include/asm/sn/klconfig.h > @@ -40,26 +40,11 @@ > //#include > //#include > > -#elif defined(CONFIG_SGI_IP35) > - > -#include > -#include > -#include > -#include > - > -#endif /* !CONFIG_SGI_IP27 && !CONFIG_SGI_IP35 */ > - > -#if defined(CONFIG_SGI_IP27) || defined(CONFIG_SGI_IP35) > #include > #include > #include > -#if defined(CONFIG_SGI_IP35) > -// The hack file has to be before vector and after sn0_fru.... > -#include > -#include > -#include > -#endif /* CONFIG_SGI_IP35 */ > -#endif /* CONFIG_SGI_IP27 || CONFIG_SGI_IP35 */ > + > +#endif /* CONFIG_SGI_IP27 */ > > typedef u64 nic_t; > > -- > 2.47.3 applied to mips-next Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]