aboutsummaryrefslogtreecommitdiffstats
path: root/tools/net/ynl/lib/ynl.py
diff options
context:
space:
mode:
authorNikita Kiryushin <[email protected]>2024-04-01 19:14:18 +0000
committerPaolo Abeni <[email protected]>2024-04-04 08:49:42 +0000
commitd72b735712e65cccb85f81e6b26a14ea53cc6438 (patch)
treeee0fc3fcfa0667e9bd25fccdc0c1a0860cb08e7f /tools/net/ynl/lib/ynl.py
parentMerge branch 'mlxsw-preparations-for-improving-performance' (diff)
downloadkernel-d72b735712e65cccb85f81e6b26a14ea53cc6438.tar.gz
kernel-d72b735712e65cccb85f81e6b26a14ea53cc6438.zip
tg3: Remove residual error handling in tg3_suspend
As of now, tg3_power_down_prepare always ends with success, but the error handling code from former tg3_set_power_state call is still here. This code became unreachable in commit c866b7eac073 ("tg3: Do not use legacy PCI power management"). Remove (now unreachable) error handling code for simplification and change tg3_power_down_prepare to a void function as its result is no more checked. Signed-off-by: Nikita Kiryushin <[email protected]> Reviewed-by: Michael Chan <[email protected]> Reviewed-by: Simon Horman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'tools/net/ynl/lib/ynl.py')
0 files changed, 0 insertions, 0 deletions