Received: by 2002:ab2:1689:0:b0:1f7:5705:b850 with SMTP id d9csp1492013lqa; Mon, 29 Apr 2024 09:54:34 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWujINAbi7xkTDW3GgH/OebqAtAVjMmIbZeWeVl+uZ91t4NY9+lBq2dO7CG9nwfP2sjjGu1wwRfghDlJdc4shP4qOJVhYSlcx9ZrcC/vg== X-Google-Smtp-Source: AGHT+IGeM9Vfj84skFkyJp0P3W6Zg8AcATDKQ2T6RrGkuQlkrX9pYbbFtVB8sSsOithgznYd8Pn/ X-Received: by 2002:a17:906:3717:b0:a58:eabd:7268 with SMTP id d23-20020a170906371700b00a58eabd7268mr5081214ejc.77.1714409673891; Mon, 29 Apr 2024 09:54:33 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1714409673; cv=pass; d=google.com; s=arc-20160816; b=AeeigkxU0wcM8B49AhezYjgvDLW4KZsztLHVRSyesyQZDzrIeNEMXVudW8kiFCVgRP fy/6jnjoq5uh9PSdKC0hKb6EuhV/t8/hreUXZ1ePsLcAwY2GGTRtnfMdXFQNb6hhI8c2 uQg2VyQqZlZ9cg4dI76hl6w2dRgavodcdIpvBIruI0pskM6ZuWx/3TVWcMfRsSqzqCf/ OItN/3/a0puQCKjiWRaQPMDUpRvFY3jC4oODKSbrM1YNCOPf6Vgu9/2YI+2l5LLOWPIK YrqZwUc+TKuqSjTecgyuUOfHqh6OHQ3zLsccLflYGmYAbE7FxQLUxV+AoGWHnKaLoqb6 q7wg== 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:dkim-filter; bh=+i2s2fEKgqAOOc8gr1DcrUd/PjVKHoQ5Nt1Q0Pn0+9w=; fh=7meYFPwEjC7+rmb5wvhph53E04zi/mxnG77000WXDjg=; b=Jcwo5D6ZRSrJHuj83MEUICgeT79MHbZEv6rx47qLVDY5zXqDNkHoAZfLkYfiam1EXD p/6WhgQeVWsj/nN+zu0Fw9OsLY1ALNj21khHwdB5ztuEe407bRpIWX/lpWq5MMKhVnC6 oelTGX+PG8oG/MKrj0SQpz0PVoruO3nMg3s1QfuyWv0f2ca8qUMWTIEiVlJFgK1SNjps TlpHveXWYaXgWIDAm0y3ZyLMJetm4XHqQgJifcEEKAQfVJUg6weJuVQc33l0HiFjPD5F er9IfIZggcR3Hx0ZGT+trhVfWhBYNYnKfEqyRX6Zdk/czqh3dgtUjVM7HCzqMrCisTe4 iP1w==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=aR8IZmw8; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-162711-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162711-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=broadcom.com Return-Path: Received: from am.mirrors.kernel.org (am.mirrors.kernel.org. [147.75.80.249]) by mx.google.com with ESMTPS id hv21-20020a17090760d500b00a55b1637be3si11355647ejc.20.2024.04.29.09.54.33 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 29 Apr 2024 09:54:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-162711-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) client-ip=147.75.80.249; Authentication-Results: mx.google.com; dkim=pass header.i=@broadcom.com header.s=dkimrelay header.b=aR8IZmw8; arc=pass (i=1 dkim=pass dkdomain=broadcom.com dmarc=pass fromdomain=broadcom.com); spf=pass (google.com: domain of linux-kernel+bounces-162711-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.80.249 as permitted sender) smtp.mailfrom="linux-kernel+bounces-162711-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 am.mirrors.kernel.org (Postfix) with ESMTPS id 9BEAD1F22172 for ; Mon, 29 Apr 2024 16:54:33 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 908318662A; Mon, 29 Apr 2024 16:54:21 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=broadcom.com header.i=@broadcom.com header.b="aR8IZmw8" 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 62BF88613E; 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=1714409660; cv=none; b=Clge0UMdZVMOxTFJgF6EjbIciXcw28lVEsJnYdDX5/QJuCIcVC7W6t3P1p9FAU9htOr+0NNweV+ynXsehnacQhgzysBNum0kvM/aIhQWfmXKRk6eh7ZJPimbhCapTjL8avAgKkd3eGrSnG+FqU5Kw8RLbwiACJxRA+c5AZJv7XQ= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1714409660; c=relaxed/simple; bh=m+a0mpd9lPCvf7rECTwJNwAyUY/aioHvQrkAhuahk7c=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=GphrjEWmPhcClEclA+sXuRWtxthfulvoXFqxzW2F7evUQXgCRLrUj9t4uWSODd3wjWKo7wtHzJ+6BiIRgXAp7XGlPBZr79mdRdOTewwTRTy3oYVwBgmhi/kl5s8/il9iZfB24HIRmHKt0EO5Cz0yejDyTKEPUuAXSuqdX52q2yU= 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=aR8IZmw8; 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 1F4ECC0000E7; Mon, 29 Apr 2024 09:54:12 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.11.0 relay.smtp-ext.broadcom.com 1F4ECC0000E7 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=broadcom.com; s=dkimrelay; t=1714409652; bh=m+a0mpd9lPCvf7rECTwJNwAyUY/aioHvQrkAhuahk7c=; h=From:To:Cc:Subject:Date:From; b=aR8IZmw8AueI1Pf30pWHZiYSPYjF3df3uyCgMZJJg0+ckeR1ICbBaZsXseg4GQ38n XQYL1UfzR4B/jA0iS0HyTF1wgqrHAXwr3ZagwhCrglkSCmODtvXBYnt1COqIkRoKW9 ZVAJ1dI4q09Ol/XAsSBufK+LIfE72i4Y9Lft1P5w= 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 2C56818041CAC4; 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 0/2] net: dsa: adjust_link removal Date: Mon, 29 Apr 2024 09:54:03 -0700 Message-Id: <20240429165405.2298962-1-florian.fainelli@broadcom.com> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Now that the last in-tree driver (b53) has been converted to PHYLINK, we can get rid of all of code that catered to working with drivers implementing only PHYLIB's adjust_link callback. Changes in v2: - remove a now unused phy_device pointer in dsa_port_phylink_mac_link_down Florian Fainelli (2): net: dsa: Remove fixed_link_update member net: dsa: Remove adjust_link paths include/net/dsa.h | 11 ---- net/dsa/dsa.c | 3 +- net/dsa/port.c | 136 ++++------------------------------------------ 3 files changed, 12 insertions(+), 138 deletions(-) -- 2.34.1