From patchwork Wed Nov 29 02:12:15 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christian Marangi X-Patchwork-Id: 171038 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:a5a7:0:b0:403:3b70:6f57 with SMTP id d7csp68776vqn; Tue, 28 Nov 2023 18:14:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IGye73VtwsDvJEAU8KlLMir0hWwYumH8GWn6k7XyWkCiPfW0rzZSGNNw98LD2syLAh1zxVq X-Received: by 2002:a05:6a21:6d9f:b0:18a:e39b:c52f with SMTP id wl31-20020a056a216d9f00b0018ae39bc52fmr19760697pzb.38.1701224051840; Tue, 28 Nov 2023 18:14:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701224051; cv=none; d=google.com; s=arc-20160816; b=hYilJjgu5XJTX3VOqM9YM14uoD3LUAEksT2wR95Y7uCWXNxouFsPbZeCNbeLZi3e4V PDCfyIkQAYahMGi8dtS0YrMxYNPjW97LjraYzqTgyHDc3IW0Bp57zaSspDMUM5aHMM9y /s1XCbBt+U1fI118Vlpltdxaltq6zKQHv7U17vvLbM/Ya+H9AmOjzqKHg31YE0ECqX2S uS+/6HocS2rrWZIjWGaaiGHaUFOZAprlML9Vg1K3D4Rg9/R3O5ICLfUt2fzpquGjNhx7 8lcJXPS2AJahNuzh8sKOFWn9G6HqUnKudSqymkMmvcG3rothSOf4qScddYeWHRpkCOCu j7eQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=AqztXsVlNAA/oHXKEIc5e+d17qatfadPPu7fc10huNA=; fh=M/Mg9TtngevyqXgZJCTwFV5p5//1sl9LEorA0JOhC3o=; b=UtsMw1oi4hjwxcOfr5p3H0bzykoqA9mhuw9j2ivWJEwi991gLlxbGmaF/UArKa/+BY mnQXiNViU7DhcwkAvEvhS1B+Y4rHjxCmCagVgc/Eo3BfvPZWQxCZGRfJigBR+BQHdGk0 g897WJMNNAE7xQZI9yfyvKJjT/33EROhIUSExYWHKHUNiRj8MHvCWnv4e5mTcbWpCrJ0 naTryXJBAiqGwTgq8Q1oPBtUdGp65n1QvH18nuwQ+ilpVWcxkWuCtnY5+5Ue4BmWgB+A tfWi3D5zaqJMrFaV7oIdtZKK1f6VFpGOiUm9iNsnX9PbQCnpPUmUIDKLFt9TCmKxWiP7 ZcLA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kdg+6nBB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from agentk.vger.email (agentk.vger.email. [23.128.96.32]) by mx.google.com with ESMTPS id cl18-20020a17090af69200b00285b8673bb8si298313pjb.101.2023.11.28.18.14.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 18:14:11 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) client-ip=23.128.96.32; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=kdg+6nBB; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.32 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by agentk.vger.email (Postfix) with ESMTP id 4954C80ADECA; Tue, 28 Nov 2023 18:14:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at agentk.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1376796AbjK2CNC (ORCPT + 99 others); Tue, 28 Nov 2023 21:13:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234807AbjK2CMk (ORCPT ); Tue, 28 Nov 2023 21:12:40 -0500 Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D72791BD5; Tue, 28 Nov 2023 18:12:40 -0800 (PST) Received: by mail-wr1-x430.google.com with SMTP id ffacd0b85a97d-332d5c852a0so3936031f8f.3; Tue, 28 Nov 2023 18:12:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1701223959; x=1701828759; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=AqztXsVlNAA/oHXKEIc5e+d17qatfadPPu7fc10huNA=; b=kdg+6nBBPrqHsAJczfz2GVioXt65XyviXgzeGp/F7ZVnKNhll3WbEonxi5rD+QRGvq yZb+uJ8l4sDoZaEThivmrRups/8CgIKWguotdCA0qu4enmgtvR1U62JQAM6+LSCVNVPy bCdNal8ukoK1U7XUK+nwIRn71mYqFhhRYmsDZ7N+m/QsqCksGw2GzYbO6T7ub64KGqej Zhchpt2buROJLSp28JV0ncO6jL8AtcZEHydz7be7mJPIuYCPiqUuUkRzb/CmnZ3ySu9y KuVS5NXohY7x6MRpxbk8FHOvyugI1pLbN3/pdmFjbengzVQO87sdkCZq55MgvtlP6P7I NqEg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1701223959; x=1701828759; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=AqztXsVlNAA/oHXKEIc5e+d17qatfadPPu7fc10huNA=; b=J4pFHEArQZmL2FjBLDMZ3L6G8/byinws1moQwNq8EY2b8tQiSYzcYBAUyFdBZQuiUG +NRuvjLv3Cu/zSDz5QGVf+Xb6FP1uCHO7b+Qgs0d67hOShaLNqQfNBysdeMznhoP4r7j QZZEVfihEKo2iMkmQeB8Rtq16ZHAc+mg6FqROUzKwLfXjKlBm7VKm8WI3D3H4yF/P5ZD cSV8nj8mlmbV8IrLUQ5PPWbKnlhSibBjgWQH6ywEwcvOkVV/kA8oc0DsTbQffUu/si4E saXeQZ1z6ztA6hSOf927d5aLkBNxQR300Icc2kIUkrb56WzDu7f3Mb+4LKIxZxTvsTUP opmw== X-Gm-Message-State: AOJu0Yz6Vq0afMtxpUAsRllXYnnipRGn44zP+NnZ139SkS5KizSXdDhc z3T8aoxWq4s9dT6kTsqg9nRqqx9SJgY= X-Received: by 2002:a05:6000:1149:b0:333:94b:7fcc with SMTP id d9-20020a056000114900b00333094b7fccmr3357386wrx.23.1701223959136; Tue, 28 Nov 2023 18:12:39 -0800 (PST) Received: from localhost.localdomain (93-34-89-13.ip49.fastwebnet.it. [93.34.89.13]) by smtp.googlemail.com with ESMTPSA id b19-20020a05600c4e1300b0040648217f4fsm321406wmq.39.2023.11.28.18.12.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 18:12:38 -0800 (PST) From: Christian Marangi To: Andrew Lunn , Heiner Kallweit , Russell King , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Andy Gross , Bjorn Andersson , Konrad Dybcio , linux-kernel@vger.kernel.org, netdev@vger.kernel.org, linux-arm-msm@vger.kernel.org Cc: Christian Marangi Subject: [net-next PATCH 10/14] net: phy: at803x: drop usless probe for qca8081 PHY Date: Wed, 29 Nov 2023 03:12:15 +0100 Message-Id: <20231129021219.20914-11-ansuelsmth@gmail.com> X-Mailer: git-send-email 2.40.1 In-Reply-To: <20231129021219.20914-1-ansuelsmth@gmail.com> References: <20231129021219.20914-1-ansuelsmth@gmail.com> MIME-Version: 1.0 X-Spam-Status: No, score=-0.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on agentk.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (agentk.vger.email [0.0.0.0]); Tue, 28 Nov 2023 18:14:00 -0800 (PST) X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783862711515910558 X-GMAIL-MSGID: 1783862711515910558 Drop useless probe for qca8081 PHY. The specific functions and the generic ones doesn't use any of allocated variables of the at803x_priv struct and doesn't support any of the properties used for at803x PHYs. Signed-off-by: Christian Marangi --- drivers/net/phy/at803x.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/phy/at803x.c b/drivers/net/phy/at803x.c index 475b96165f45..32f44ef9835b 100644 --- a/drivers/net/phy/at803x.c +++ b/drivers/net/phy/at803x.c @@ -2387,7 +2387,6 @@ static struct phy_driver at803x_driver[] = { PHY_ID_MATCH_EXACT(QCA8081_PHY_ID), .name = "Qualcomm QCA8081", .flags = PHY_POLL_CABLE_TEST, - .probe = at803x_probe, .config_intr = at803x_config_intr, .handle_interrupt = at803x_handle_interrupt, .get_tunable = at803x_get_tunable,