Commit 32034fd
committed
igc: Remove redundant runtime resume for ethtool ops
Author: Bjorn Helgaas <bhelgaas@google.com>
8c5ad0d ("igc: Add ethtool support") added ethtool_ops.begin() and
.complete(), which used pm_runtime_get_sync() to resume suspended devices
before any ethtool_ops callback and allow suspend after it completed.
Subsequently, f32a213 ("ethtool: runtime-resume netdev parent before
ethtool ioctl ops") added pm_runtime_get_sync() in the dev_ethtool() path,
so the device is resumed before any ethtool_ops callback even if the driver
didn't supply a .begin() callback.
Remove the .begin() and .complete() callbacks, which are now redundant
because dev_ethtool() already resumes the device.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Simon Horman <horms@kernel.org>
Tested-by: Naama Meir <naamax.meir@linux.intel.com>
Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
(cherry picked from commit 75f16e0)
JIRA: https://issues.redhat.com/browse/RHEL-17489
Signed-off-by: Corinna Vinschen <vinschen@redhat.com>1 parent ac491f7 commit 32034fd
1 file changed
+0
-17
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1711 | 1711 | | |
1712 | 1712 | | |
1713 | 1713 | | |
1714 | | - | |
1715 | | - | |
1716 | | - | |
1717 | | - | |
1718 | | - | |
1719 | | - | |
1720 | | - | |
1721 | | - | |
1722 | | - | |
1723 | | - | |
1724 | | - | |
1725 | | - | |
1726 | | - | |
1727 | | - | |
1728 | | - | |
1729 | 1714 | | |
1730 | 1715 | | |
1731 | 1716 | | |
| |||
2025 | 2010 | | |
2026 | 2011 | | |
2027 | 2012 | | |
2028 | | - | |
2029 | | - | |
2030 | 2013 | | |
2031 | 2014 | | |
2032 | 2015 | | |
| |||
0 commit comments