Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1625579lqa; Mon, 29 Apr 2024 14:10:21 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCUT8iM6rOrqpB7Sb8ZWtUT0i4sPG+iUeRycggaHLEHIiILo/manwYYd1AEJ6wH5B1wNCS4ADBjnb+2Ec2zMaOAYfogEGnu1wkqv99RDFA== X-Google-Smtp-Source: AGHT+IGDE6i5kEtzIfr+Oytn9qSB50mmmZq7TCi06Cd3qDQhF8hfIzXwTrXS1OlePMfryN0nIzqJ X-Received: by 2002:a05:6358:7282:b0:18d:9d25:725e with SMTP id w2-20020a056358728200b0018d9d25725emr11971998rwf.16.1714425020706; Mon, 29 Apr 2024 14:10:20 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714425020; cv=pass; d=google.com; s=arc-20160816; b=AuMv9UMpYs4CJY6eitOrTdUnhMaaIjHJHpb15CnOEP7PaxRtf8wxo8T4OfvuE8pkRp Id6YO2VzFR4+hhY+O1/i3N1/TfaBmMzk+zsST0HKoHXMwGgJxsYKudWmsIffkBbp2zda n5N4IjjSlL8P/n0Q9Sir2EZn7naTUAVeeCBK4xvi/Rd53WN8o+K0dQ84d0Zd5H9F+uqJ JIQRXTOgP9wDszxF3zREJdFSLhO/1zH7y5IaWHgkuZRe4u5LcMCP+Gov00LQ903BJq1e Q0Zuf6v1Wtr7uhFEWo3w+xKrUkGTg+n/t8dOyOIRT2ObRUO1hsGB/f7BYw4hlvpLazU+ 6AVQ== 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:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature:dkim-filter; bh=IWqhffLYl0dFqWprsRPLEmev+tIkjRoaMyJ7Kwy+1oM=; fh=7meYFPwEjC7+rmb5wvhph53E04zi/mxnG77000WXDjg=; b=Bqz8bZb91kXJh5jpM5kRsEw0ABlJXKqcoxTLmf5JmZOk3wkYEGkxnZJEJXUpiPr50b h6Qf+DJ2m1VgmZ30ykuoahHY7rc2ZrEfaq4hUiSzLmbVXBQ2Cy/n5ME9hDrWbEMSNo37 bYmq1Cx+5dIgGciJMAjmVxI3AbJwG/AHeAls3d+lUJBNNygwCNvuQueaBjtIU6FkYbAz d7I8zL2Ehq8mDADgoRCfWNcHGR2VeUvgNsZexndJHeZVxMHV3Qfr0KxdZkfO+IZAHSTa CMNoOAWvmYCkqqwFxq32rwfa1wg0K3YC9PN/VzL6wN9Z3ot88AiskWEHWVS+WfEzZXim IcxA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=kdZxOEY4; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-162713-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id q12-20020a63f94c000000b005dc962cfb64si19932782pgk.89.2024.04.29.14.10.19 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 14:10:20 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162713-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=kdZxOEY4; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-162713-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162713-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 02749B226A6 for ; Mon, 29 Apr 2024 16:54:53 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id CEFE3126F0F; Mon, 29 Apr 2024 16:54:22 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="kdZxOEY4" Received: from relay.smtp-ext.broadcom.com (relay.smtp-ext.broadcom.com [192.19.144.205]) (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 62BB586136; Mon, 29 Apr 2024 16:54:19 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=192.19.144.205 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714409662; cv=none; b=bCtyjeLYhC96Q4luS8UMd5edDsVLjPfZc3++jPy+R4Eom0LO+VCM9x5trzwt/t/crva/Ub84UNi6mEGQD96FuqJCO23uM0UjCbP/koIZ332JDHXynZa9OfcpVexM705bH4QUw7VmSFceZxyhPUTREurYloJOhJ/iENnGoszDuq4= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714409662; c=relaxed/simple; bh=1cY9CF5Pxn/f+iiJlu9BrbQu3wy8IFak5Fd0SvXjG+c=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=h5wK+lCS6LPHCpTidvoQFsv095e1hk+qtOK3Ltrwk5TbnXCCCgpqZKX5tX0OwBkYe8LXQpIMv3nf7n9EDD1fsbkCivFL5V/9PV8/TGXvbF9I4UHfYOWxEF18jNVMx4gLicspwRS89qjK9I4ktPLaGRjjmqOLyLXYZpQcDsx94sA= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com; spf=fail smtp.mailfrom=broadcom.com; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b=kdZxOEY4; arc=none smtp.client-ip=192.19.144.205 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: smtp.subspace.kernel.org; spf=fail smtp.mailfrom=broadcom.com Received: from mail-lvn-it-01.lvn.broadcom.net (mail-lvn-it-01.lvn.broadcom.net [10.36.132.253]) by relay.smtp-ext.broadcom.com (Postfix) with ESMTP id 48DFAC0000E8; Mon, 29 Apr 2024 09:54:12 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 48DFAC0000E8 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1714409652; bh=1cY9CF5Pxn/f+iiJlu9BrbQu3wy8IFak5Fd0SvXjG+c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=kdZxOEY4uYBrpxrmWDwwg/XQvixUhkhSanXXTM2C1F+am8ZirnmLbxjUOr31p8490 Lvh8dHajpbReBZ6I4yiJWDDKgmkjL+S1Vw24W0lVBjqtsyr6ggi5PRfFwzGUOJxG24 Sc8FjqZ6n+rlxfInpvZ5I3BC+8AzX++zX/sKfIng= Received: from fainelli-desktop.igp.broadcom.net (fainelli-desktop.dhcp.broadcom.net [10.67.48.245]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail-lvn-it-01.lvn.broadcom.net (Postfix) with ESMTPSA id 5F2BC18041CAC6; Mon, 29 Apr 2024 09:54:10 -0700 (PDT) From: Florian Fainelli To: netdev@vger.kernel.org Cc: Florian Fainelli , Andrew Lunn , Florian Fainelli , Vladimir Oltean , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Russell King , linux-kernel@vger.kernel.org (open list) Subject: [PATCH net-next v2 1/2] net: dsa: Remove fixed_link_update member Date: Mon, 29 Apr 2024 09:54:04 -0700 Message-Id: <20240429165405.2298962-2-florian.fainelli@broadcom.com> X-Mailer: git-send-email 2.34.1 In-Reply-To: <20240429165405.2298962-1-florian.fainelli@broadcom.com> References: <20240429165405.2298962-1-florian.fainelli@broadcom.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit We have not had a switch driver use a fixed_link_update callback since 58d56fcc3964f9be0a9ca42fd126bcd9dc7afc90 ("net: dsa: bcm_sf2: Get rid of PHYLIB functions") remove this callback. Signed-off-by: Florian Fainelli --- include/net/dsa.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/include/net/dsa.h b/include/net/dsa.h index a6ef7e4c503f..678f1fd8b189 100644 --- a/include/net/dsa.h +++ b/include/net/dsa.h @@ -25,7 +25,6 @@ struct dsa_8021q_context; struct tc_action; struct phy_device; -struct fixed_phy_status; struct phylink_link_state; #define DSA_TAG_PROTO_NONE_VALUE 0 @@ -873,9 +872,6 @@ struct dsa_switch_ops { */ void (*adjust_link)(struct dsa_switch *ds, int port, struct phy_device *phydev); - void (*fixed_link_update)(struct dsa_switch *ds, int port, - struct fixed_phy_status *st); - /* * PHYLINK integration */ -- 2.34.1