From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pf1-f181.google.com (mail-pf1-f181.google.com [209.85.210.181]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id B951918D658 for ; Thu, 2 Apr 2026 19:19:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.210.181 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775157600; cv=none; b=ZY6izUxw5zLwcGBhFQ1Bpt+FxRTL8FZ2O1Q1Ge2a/39euwZJk/UdAhvy0Mss0S+fVtJcaFds8cYZOAw2s/qLRr5ekA/dvpp/Yr8Ljqmi7rKdyqMGGcSZdus0TFhr+VHZGpqIRyIevlhk4wttrouh4gQ7YfU/gTfAVWgZKDuzYq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1775157600; c=relaxed/simple; bh=YyI8jqYYhdko66cyM4N7pIbtGvQSQvESyQFAl7WZidE=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=W3N0uO7Da2bYfHU8eTENr9uBg1pQbVjKp3RlGMSAAy05OZ2Lb/65+vhDJA2bBtgMqZLFFja0BSLzzvlKyv2hkUJrWT3YrKjqBpouWrslPDuqg7VcuJKMS5hoP6xmndewNpqZO98LAm8cfiUmsncxZMEYMmOLcZT/5wU5tKxxQ64= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org; spf=pass smtp.mailfrom=linaro.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b=vLjJdat+; arc=none smtp.client-ip=209.85.210.181 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="vLjJdat+" Received: by mail-pf1-f181.google.com with SMTP id d2e1a72fcca58-82a7539851fso574546b3a.1 for ; Thu, 02 Apr 2026 12:19:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1775157599; x=1775762399; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=v3jSt7uwE7EC589yxv0VmtI2sQo0+2W9n1Ml7lFclpo=; b=vLjJdat+nTes6KzoUzRzUrAqvQYzV+TfH83iZ3JzefZNM6q2L34V6RooXq/e17I+uI 7/VwVx/FaGOQXe4si0mUTKNqRTvTMCbVWrX4rUmBCL0uwIl1eu0UZttmkg421TARFk7c XDHbRsm7g73KiTZW9OHGfzMq/9mE3BQJptd2+9gyGqJV7NhzcQllfgXjmSOz9IRbybHt XJUnz3bhgqmi/itjHk7hRMq/WGWw3g5sD131HHJFU6MOnjHULWQ1I9ZNGKAU9EmKDGy/ Ib8O5HmSSzX70yfAtopw8rVy9f0kIFvoI2GVRLy4YKBiqKmmp40qmWjyHcvqDiQEl+YT M0kg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1775157599; x=1775762399; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=v3jSt7uwE7EC589yxv0VmtI2sQo0+2W9n1Ml7lFclpo=; b=VYlhz7BiJm6SLHJLHifj2vwWqb1WYgDX1b1t1lXcxMZRydLFwvSndRUACUROaU96LI Xl43qDGQnrHeSQ42uyDC9+potOhU2UznCIWghpdOD6JLWJ96DZc0ysvI0Trn+jrrAx1r xdMTkB3QuLW1pWws81W8s0iawHK+B3ZHneH3ssNqPtkBibCchOZBV4UlN3Nx1KnVBJhf /Ja+5fBqpBzarlnJcJyucqKMUwlQa3TOW8wf0y0u2LnfpEUCxSnskWXOL/5HS/ZOwotN Gonll9fizbzjwlGNXNOssa2glf9syqeS4lDxZFpKfzaVN5vVdpR0DiuHl4AEp+9QFV9C qbmg== X-Forwarded-Encrypted: i=1; AJvYcCUVfX94cergON9xVIA45hqHFMAfgWeyRJcxikeFHUTMDGmIMy/+6LuJfnzf3nnVCvpF/KlzHNrKLkhbeLg=@vger.kernel.org X-Gm-Message-State: AOJu0YyWj+z5jO4h3LG94KXfncpmPZENVkoYgvRNws7wIoeOIJbyHq8i KeupG/xD5tIZaG2UxC+hFloIum3YR1fsd+VxNSh8eg7JZ/YS56BsH9oLk6s5r7ztsOIqIbCR1f0 bQ1Kh X-Gm-Gg: ATEYQzyHQKkFCqFoB6L39ipXbAHaRu0Faq37hmaySzs56whNqL8EJKlvX6oHUaDHp2g CYbGknxN3bD/yCYMDBhTD4g88A4bTsJTF24fljABIS29YWYBtxBRHBN9Iv5cs24Vyd/lCbAc5Id sf1CJVa0XNNyPdsCZdXoCs5B8m9+nZuBq3iJhKvJm32DhOt9ZljTyCowfW4eE39hd+23htWUZ+U COg/QK3D91B8JxxwYLhpUkp7+4CABsZ5d24YLTTxtZB/pxbjk4get1TrogOjO8pEyoFTdSqMEKE dnil6KdSZXQG8pL3qQblmtkdFuT6qZ0BFDheKzVGZMS4txMWb2J7tWonRWD0mclxfkY6vebJ8lS vJNEOvlFnu8UU6EkZ8/nmYZyXqWb0GYYDr4Sq5DJO1B8tzOz7Uzx7NQTwg9B8IPrJU7YN0WtQGh 5BQoaJ1zu/pYn6PQk4W0sYzINw36o+gFrS+8Q= X-Received: by 2002:a05:6a00:178e:b0:827:455b:86b1 with SMTP id d2e1a72fcca58-82d0db693cemr329162b3a.28.1775157598929; Thu, 02 Apr 2026 12:19:58 -0700 (PDT) Received: from p14s ([2604:3d09:148c:c800:845:1274:f83b:b11]) by smtp.gmail.com with ESMTPSA id d2e1a72fcca58-82cf9ca79basm4904770b3a.58.2026.04.02.12.19.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 02 Apr 2026 12:19:58 -0700 (PDT) Date: Thu, 2 Apr 2026 13:19:55 -0600 From: Mathieu Poirier To: Julian Braha Cc: andersson@kernel.org, fabien.dessenne@st.com, ludovic.barre@st.com, loic.pallardy@st.com, arnaud.pouliquen@st.com, linux-kernel@vger.kernel.org, linux-remoteproc@vger.kernel.org Subject: Re: [PATCH] remoteproc: dead code cleanup in Kconfig for STM32_RPROC Message-ID: References: <20260330224545.29769-1-julianbraha@gmail.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20260330224545.29769-1-julianbraha@gmail.com> On Mon, Mar 30, 2026 at 11:45:45PM +0100, Julian Braha wrote: > There is already an 'if REMOTEPROC' condition wrapping this config option, > making the 'depends on PCI' statement a duplicate dependency (dead code). You likely meant "REMOTEPROC". > > I propose leaving the outer 'if REMOTEPROC...endif' and removing the > individual 'depends on REMOTEPROC' statement. > > This dead code was found by kconfirm, a static analysis tool for Kconfig. > > Signed-off-by: Julian Braha > --- > drivers/remoteproc/Kconfig | 1 - > 1 file changed, 1 deletion(-) > > diff --git a/drivers/remoteproc/Kconfig b/drivers/remoteproc/Kconfig > index ee54436fea5a..c78e431b7b2d 100644 > --- a/drivers/remoteproc/Kconfig > +++ b/drivers/remoteproc/Kconfig > @@ -316,7 +316,6 @@ config ST_SLIM_REMOTEPROC > config STM32_RPROC > tristate "STM32 remoteproc support" > depends on ARCH_STM32 || COMPILE_TEST > - depends on REMOTEPROC > select MAILBOX > help > Say y here to support STM32 MCU processors via the > -- > 2.51.2 >