From nobody Sat Jul 25 19:27:03 2026 Received: from mail-wm1-f43.google.com (mail-wm1-f43.google.com [209.85.128.43]) (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 61505363C60 for ; Tue, 14 Jul 2026 11:21:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.43 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784028067; cv=none; b=Y4OAz4a20RNQmtZ5YURMwYv87G8f7n138wz2UpucDraZO5dAz+DqZLPZHupcrZMQfpr0jTIhdmYMatU+DByv2wp1gasBhsKGC8ulm88RsiY5RtMFTrVnUomdYgYwNwAxWKrRNeI2Al7kt1Kz2YD7TR3ejUbd6YYZU75TDoDO6Wk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784028067; c=relaxed/simple; bh=5U8Xt+5FII5bnnfNrELICp5w/0y/KFXkF6lLjw5vPX0=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=Oi4SmfpSdL+g9E/qtNm13g8iIZpXr6Ox6WOXL7vYK64sYdxD4ln+68rkiPjTTNxl+ZXn4qcPb5MYSOxHfFaBjfOznrLQQo7F6A4ueZxFH0GpNVqbdRr+w2Xdlnm6r/ypO0BBNLnJvXSOGSSQxsV+vLk7iZ1wEI1uhkybC1NOdQU= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=MECwqnit; arc=none smtp.client-ip=209.85.128.43 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="MECwqnit" Received: by mail-wm1-f43.google.com with SMTP id 5b1f17b1804b1-493f60208a5so36049865e9.3 for ; Tue, 14 Jul 2026 04:21:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1784028065; x=1784632865; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:from:to:cc:subject:date :message-id:reply-to:content-type; bh=c3OMzo2xKVZ4mg1KtmSh/Is84yo0PGktqHQ2pNf/fQs=; b=MECwqnit1XkVxJRFp/LYOAxIL7d2qNJFx+n0sMuLVXzGVA0Qa6zlQq16teSjFc6Ydm pCHWlEYs9E8Ao0cMLKHlILPCwJj09g6hQeajFQuS5cVznWuG8SjVzEvM8WU9pEQuf2Pu oWRZBvfDHcllloHE1QiHDPtX+35cBL0lgPfc5q9aE2CmpsF2g6QJNqYusT73iaZnJ4rr ZKiw3JGjZ3IrBuaq5bNr45i38WsJC42T0KfaFvPIJoTJEtOlGav+gJSkm7Ldc4WKyIuT 1aDXixCdvK/YkYKohPFYuJ8muhGEhPHkdCzFXUNJUtXEuSx0PNJWXVvApIvRk62rg92M yfrQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784028065; x=1784632865; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:sender:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=c3OMzo2xKVZ4mg1KtmSh/Is84yo0PGktqHQ2pNf/fQs=; b=I83MFe4qiF6kpkypsn6/CJbULCqrn+UNyJXOc5EmwtPwZvMTMwWmlaOD8Y1HN6KTWO OzlXcuArrv3W1sjsjllXbAPJHrF2SXUfpEJ7qC9BqNgcgJuU29KWne+UJs8XTkQIDSsL PYwZLJX2/N+Empbedl+A/c6cAJs7jh/VdsVX8P/0WXY4CorVc6VIhgrGiWepNskgGz8R 244CbJU/ch9rkRh1bIM8ygeCzfLxY/Kcra0OGnDZ6StyuG/W4sbY08fD2wo1coPGj8BH 1IFW079bYNf8+ve0WJJu/IRX1HM+1A74x5dYLrzOiEfGHDMKcLIRGclJgHxbN5tzis9T LeSQ== X-Forwarded-Encrypted: i=1; AHgh+RrP/ZIf72bH6a2mFMuX5hFIUx6S17r+4SFlrSjYPJ0VLtxFumMj3qct41GskATmInXeZ9zYvKeCJsfVO70=@vger.kernel.org X-Gm-Message-State: AOJu0YzlM/s6rbcdad5rFJup1mJBEuIFhKpSpiGXU/3k4NskmVGdrUmX 0Fi2XAv447Z32ASYJJwcQjUw9x32pZdtivu1MwgXC140nWH1BrDQxgUw X-Gm-Gg: AfdE7cm2XYOglt1IUg7FROl0+9Dp4CGtqJATa7LNtPJYA2+M7Z2R+C81Nxopdm2feQA +emMyl2cvj2tCEaYXX1yWxDkauHZsa1J8T5c3ppmM50YYy/1Cx0UljfVCB+7CmexRDXDC5D2W3L XUjapY3r6YMwM00M/sA7/JSlBi5JppHtyeODi+pWUc5lnNBey9xtsHuCffxJ2vuc4rcwGLf+zwj ewxrbJrBoOEE8nFWef5gZZdH/8fThOfGX2ApTcjIjbxcOzHcWzawlNCEqJFQ3YD9YzbwVNx8to0 6GXLqWTWMoa1EGJsilbtHI4DH/z43Ytsl8c3Jsm6ESmHtHfD/MtpRF3mgPQV6mhPFyns+TWHEx2 RcFgze/79swguogtl6e6XItmoQ8olHhX8WbtsOva+wQKKigTeTXzQbAVIAFGX4DBsS9Guq0V2pA zd4yvtoXNo8WexjR0soHRccUJy39rcZainpfcv5infM/QT7E551FCe5/9k93X9i+bUzj9uG7bfe bBQ X-Received: by 2002:a05:600c:468f:b0:493:df1d:7488 with SMTP id 5b1f17b1804b1-493f87e5b4cmr138862515e9.16.1784028064220; Tue, 14 Jul 2026 04:21:04 -0700 (PDT) Received: from nixos-office (195-23-151-163.net.novis.pt. [195.23.151.163]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49508739c99sm65552465e9.9.2026.07.14.04.21.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 14 Jul 2026 04:21:03 -0700 (PDT) Sender: Julian Braha From: Julian Braha To: b-liu@ti.com, gregkh@linuxfoundation.org Cc: conor@kernel.org, arnd@arndb.de, linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org, daire.mcnamara@microchip.com, valentina.fernandezalanis@microchip.com, mturquette@baylibre.com, sboyd@kernel.org, claudiu.beznea@microchip.com, jassisinghbrar@gmail.com, a.zummo@towertech.it, alexandre.belloni@bootlin.com, wsa@kernel.org, ben.dooks@codethink.co.uk, heinrich.schuchardt@canonical.com, Julian Braha Subject: [PATCH v2] usb: musb: remove dead select of USB_MUSB_DUAL_ROLE Date: Tue, 14 Jul 2026 12:20:47 +0100 Message-ID: <20260714112047.2304856-2-julianbraha@gmail.com> X-Mailer: git-send-email 2.54.0 In-Reply-To: <20260714112047.2304856-1-julianbraha@gmail.com> References: <20260714112047.2304856-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-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" 'select' does not work on config options in a 'choice', so currently it is possible to enable USB_MUSB_POLARFIRE_SOC without USB_MUSB_DUAL_ROLE. Remove the dead select, as it is unnecessary, from this conversation: https://lore.kernel.org/all/20260712-parole-stoning-d7e66a0961a8@spud/ This dead select was found by kconfirm, a static analysis tool for Kconfig. Suggested-by: Conor Dooley Signed-off-by: Julian Braha --- Changes since v1: remove 'select' instead of changing to dependency =20 Link: https://lore.kernel.org/all/20260711130349.592545-1-julianbraha@gmail= .com/ drivers/usb/musb/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/usb/musb/Kconfig b/drivers/usb/musb/Kconfig index f56929267eaa..1b0d27d8e02f 100644 --- a/drivers/usb/musb/Kconfig +++ b/drivers/usb/musb/Kconfig @@ -116,7 +116,6 @@ config USB_MUSB_POLARFIRE_SOC tristate "Microchip PolarFire SoC platforms" depends on ARCH_MICROCHIP_POLARFIRE || COMPILE_TEST depends on NOP_USB_XCEIV - select USB_MUSB_DUAL_ROLE help Say Y here to enable support for USB on Microchip's PolarFire SoC. =20 --=20 2.54.0