aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/xilinx-core.c
diff options
context:
space:
mode:
authorRussell King (Oracle) <[email protected]>2025-02-05 13:40:15 +0000
committerJakub Kicinski <[email protected]>2025-02-07 19:56:09 +0000
commitfaafe39c77fbfb7001e8ed698eda15609f2745fc (patch)
tree751cfe6d91e49b23c125a916ffef9397c2a934ad /drivers/fpga/xilinx-core.c
parentnet: stmmac: remove unnecessary priv->eee_active tests (diff)
downloadkernel-faafe39c77fbfb7001e8ed698eda15609f2745fc.tar.gz
kernel-faafe39c77fbfb7001e8ed698eda15609f2745fc.zip
net: stmmac: remove unnecessary priv->eee_enabled tests
Phylink will not call the mac_disable_tx_lpi() and mac_enable_tx_lpi() methods randomly - the first method to be called will be the enable method, and then after, the disable method will be called once between subsequent enable calls. Thus there is a guaranteed ordering. Therefore, we know the previous state of priv->eee_enabled, and can remove it from both methods. Signed-off-by: Russell King (Oracle) <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/xilinx-core.c')
0 files changed, 0 insertions, 0 deletions