From patchwork Mon Mar 25 22:29:48 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Bjorn Helgaas X-Patchwork-Id: 13603113 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 6930882877; Mon, 25 Mar 2024 22:29:59 +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=1711405799; cv=none; b=Q6llhT98vO+r8XxRoN3sNEIxDvFMi+FDqYDW1GPQ6PrcVW+TXZmVKXNEdEfohq2lMFkC0i3T74slejnsZKTI8HFA4cTLABC58QfH3q7UOiSm0Xi8GuvGqUmgq/c3a6TXowpGAlb4vdUXWxR/LStD/muronbK2hd8KjhrT3tkbvM= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1711405799; c=relaxed/simple; bh=s6f0H6C9JKUP0UFu/98JgZPoNS9zucvQkAEttBGZoDY=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=Rw+QsM9v4po1ktFuItSv4iCfS1RXafOxOWGjLOheNhwjaWywkc7SmYkm5aYZvY1vFWsThelmW8L/OHHUVnfl+HWO0M9eUy5TDc/Lb8KVdgkKU840etCPfsigKyZTKfSKxs2oLHcxCQhXJYgKB9T6ITHKiG4vIYVF00Y/nPFEr0Q= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=atuGH1dk; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="atuGH1dk" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B34CEC433F1; Mon, 25 Mar 2024 22:29:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1711405799; bh=s6f0H6C9JKUP0UFu/98JgZPoNS9zucvQkAEttBGZoDY=; h=From:To:Cc:Subject:Date:From; b=atuGH1dkaJFc6beHU9/dXrtXnZVohJuLwacVykwe7JIcmAVH5e3J1KxmkEAbeugkF DgKyPy0nETCy+CO7aO3A0AJYTPlWC3KigEur69U9yJeAL+t+vFhmxLHGhpCwj6WVdG q//063yDQXIo1H1a/2ysO1wueZ5PFmVDV3eRSraUD4ixrraJ21iKzmL5chHT2dOVTB 3v/JzlB5MHuurUelrCGzwIZ/ZkMIqHgwxqyh6Yg0LmZ7bn3p+uTSk92LBsrcCZouDn mlWOMaM3I0kyyM/qX2Bj68xJQfkAET8j8pwCSUGhVuORqd4t3lBwhksArarmov6ZRx vY2vpxxClIVqg== From: Bjorn Helgaas To: Jesse Brandeburg , Tony Nguyen , "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni Cc: Heiner Kallweit , Konstantin Khlebnikov , Zheng Yan , Sasha Neftin , "Rafael J . Wysocki" , intel-wired-lan@lists.osuosl.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, Bjorn Helgaas Subject: [PATCH 0/3] net/e1000e, igb, igc: Remove redundant runtime resume Date: Mon, 25 Mar 2024 17:29:48 -0500 Message-Id: <20240325222951.1460656-1-helgaas@kernel.org> X-Mailer: git-send-email 2.34.1 Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Bjorn Helgaas e1000e, igb, and igc all have code to runtime resume the device during ethtool operations. Since f32a21376573 ("ethtool: runtime-resume netdev parent before ethtool ioctl ops"), dev_ethtool() does this for us, so remove it from the individual drivers. Bjorn Helgaas (3): e1000e: Remove redundant runtime resume for ethtool_ops igb: Remove redundant runtime resume for ethtool_ops igc: Remove redundant runtime resume for ethtool ops drivers/net/ethernet/intel/e1000e/ethtool.c | 62 ++------------------ drivers/net/ethernet/intel/igb/igb_ethtool.c | 15 ----- drivers/net/ethernet/intel/igc/igc_ethtool.c | 17 ------ 3 files changed, 6 insertions(+), 88 deletions(-)