From patchwork Sun Feb 4 12:31:51 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Masahiro Yamada X-Patchwork-Id: 196492 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp326720dyb; Sun, 4 Feb 2024 04:32:43 -0800 (PST) X-Google-Smtp-Source: AGHT+IEbx5VSah40Emzag5kdRG3H55GJbeDBH584zue+NMnSqJRqbCdenfhxUNhUFePtDgTKS+Kf X-Received: by 2002:a17:90a:eb92:b0:295:b3ec:2cf7 with SMTP id o18-20020a17090aeb9200b00295b3ec2cf7mr8920208pjy.48.1707049962818; Sun, 04 Feb 2024 04:32:42 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707049962; cv=pass; d=google.com; s=arc-20160816; b=HpjqRa0A/LMZS9VFQ0AtM2iKS8dcJN0I5ESuRBre9DM4QdaOKeE62E148cFfkXCFT4 Wp+vRbelHRcluL8FFxENukHU3lPMoQK6H4ovOXZXPTYI8nebFsmTI6wFQ54Zbe+PtE7T MPWPqKueKkKXmJqoY8nqx4kfEubR89eMLxN8fHRtAUgoEnxA9TzvxDFUXCO7N7n2Pzev mEIYpHcAEKmvHmLxAmsV6AXZt8RsZJUi6iw/riWlzY6LKSrlctEgPdbsomCatsG66xF+ /UfUvEuCYRadjpXfyBf7xZoWvK05tJh1hxJV8YMVXW1ybNOHgExbvQv3DNPWI062U7RB oF/w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=8WelaJP14EL3Bm/92vJoco60K5CbgBhLwa6dhhxd+Nk=; fh=QyuKGYfXkSeWwU4i5PEW6HSjAbfye25fL6YFttDEMzU=; b=L6Jqk2P7ClEUpmKG6VAFOR8UUp6ErtC0AdSOoHf1o0Og3CzMcVt5bwiYTI5za5LomU +UqdACsBSh1trHfieKyKixcd5uuQ0sV+XxgyS+JcoBuUCqZEYzHUedaGzrZVIceAgcVq fAfF6/P+xwFJNDzWJpm4HetFbg0XhlkTJR0nlp/0koodxwjE/da5+FGZINMOgh3lF6iF clMrcveDryv5GY/EPVK4HcXbR/Fky0NhOzyoVWSd6Cl8lWr9+dxaAtFA0jurphuMKRKp ecTZNDNFWVL6aWuxas8gxe0B3SCzUgN3TxfTFLHaVUBG7J9vvGzSH3iyHIGj1Rs8Tgtm Xt9A==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nIq4csWA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51637-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51637-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Forwarded-Encrypted: i=1; AJvYcCUZ/gfK6tMM7sEa6dbiqgYzukQQmbXvfp+y8FbKhi9h1juEtc306ApmOsFy7+ftrFPheDzSQCIpKFLF53JRPEsqI+Nz9A== Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [139.178.88.99]) by mx.google.com with ESMTPS id m2-20020a170902db0200b001d94a0198dasi4797469plx.68.2024.02.04.04.32.42 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 04 Feb 2024 04:32:42 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-51637-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) client-ip=139.178.88.99; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=nIq4csWA; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-51637-ouuuleilei=gmail.com@vger.kernel.org designates 139.178.88.99 as permitted sender) smtp.mailfrom="linux-kernel+bounces-51637-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id E6DCF2809E5 for ; Sun, 4 Feb 2024 12:32:17 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 62C98225A9; Sun, 4 Feb 2024 12:31:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="nIq4csWA" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 B59FA1642F; Sun, 4 Feb 2024 12:31:56 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707049916; cv=none; b=GeDvXFZDezAO/YN+MchVuRQVA/989vHNsaEWTVsezIxTB76nulTlWPr0bk4v6LjrL0D+H44KAlp7lrv06+bvDjwg4MizXOavEOUgdDg92OHTbT8dTG1wPywlp7LVdjEKoAhLoIl4hV++vz+MznsgXOYnnYyU++6eqFglXYZUIJ4= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707049916; c=relaxed/simple; bh=vDBDZYzI/5OSxWeet1wmyNK83emKECxcsNO1ezZ40ak=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=X7nEPnGletoXXivc6Eoe7TFHX/KQw+QOWbrwbifuvDtzMmmbY4dunlm84GZwUbv7CJxWew7FsbmuH+ivH2rwcpiaxRXiSgXrV1GNeGFmLgdo0bJikpJZLzYr1f+jmAzlSZUNBMsDEn3pQyQ1ka62ptJZxm4Q3cpPUsrKoKJC+5Y= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nIq4csWA; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 021A1C433C7; Sun, 4 Feb 2024 12:31:54 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1707049916; bh=vDBDZYzI/5OSxWeet1wmyNK83emKECxcsNO1ezZ40ak=; h=From:To:Cc:Subject:Date:From; b=nIq4csWA1HUpfBdPjf1xAVT22cLtTusYfNrZQUKZiX7VWI4PQZc/YRPbRVCsVC2iZ gopPQRr21Z9X3pfQ8QYHRWPbdrQqG3gz0m0XwGBs3AAdQdh2CEoAxrPZYPYcqvImsY V+6NabFIAaIdKH8IDU6Vf/oEi+HTtzPq74ynVFsB685Aj7Q/x89C/b6gik+UBuTq7A co+RrTjYt1MkvbhLIu73kxi17Hd6IEbrdYk1jpLKnIbBv3epWxkDLHKZuKWYZ9OxnM BEiFL4j4Lm2g6gnfFd/Da5So8vcNhit24p+cqjnuHy1A66q1aWMBipVP1yO1znM3q7 D7dQY70gLVueQ== From: Masahiro Yamada To: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , netdev@vger.kernel.org Cc: Masahiro Yamada , linux-kernel@vger.kernel.org Subject: [PATCH] net: ethernet: remove duplicated CONFIG_SUNGEM_PHY entry Date: Sun, 4 Feb 2024 21:31:51 +0900 Message-Id: <20240204123151.55005-1-masahiroy@kernel.org> X-Mailer: git-send-email 2.40.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1789971621841142815 X-GMAIL-MSGID: 1789971621841142815 Both drivers/net/Kconfig and drivers/net/ethernet/Kconfig contain the same config entry: config SUNGEM_PHY tristate Commit f860b0522f65 ("drivers/net: Kconfig and Makefile cleanup") moved SUNGEM_PHY from drivers/net/Kconfig to drivers/net/ethernet/Kconfig. Shortly after it was applied, commit 19e2f6fe9601 ("net: Fix sungem_phy sharing.") added the second one to drivers/net/Kconfig. I kept the one in drivers/net/Kconfig because this CONFIG option controls the compilation of drivers/net/sungem_phy.c. Signed-off-by: Masahiro Yamada Reviewed-by: Simon Horman --- drivers/net/ethernet/Kconfig | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/net/ethernet/Kconfig b/drivers/net/ethernet/Kconfig index 5a274b99f299..6a19b5393ed1 100644 --- a/drivers/net/ethernet/Kconfig +++ b/drivers/net/ethernet/Kconfig @@ -15,9 +15,6 @@ if ETHERNET config MDIO tristate -config SUNGEM_PHY - tristate - source "drivers/net/ethernet/3com/Kconfig" source "drivers/net/ethernet/actions/Kconfig" source "drivers/net/ethernet/adaptec/Kconfig"