diff options
author | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2024-05-28 10:17:52 +0100 |
---|---|---|
committer | Kalle Valo <kvalo@kernel.org> | 2024-06-18 13:22:11 +0300 |
commit | 97715e29cebc898a214558475331ea6a10c0f8d1 (patch) | |
tree | 67cf07424d89aca60b5f5519aaf326f6cd3ba1b9 /drivers/net/vrf.c | |
parent | b734d8830f70813e17f470daa60f535a6df4d570 (diff) |
wifi: wlcore: improve code in wlcore_fw_status()
Referring to status->counters.tx_lnk_free_pkts[i] multiple times leads
to less efficient code. Cache this value in a local variable. This
also makes the code clearer.
Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://msgid.link/E1sBsxs-00E8vc-DD@rmk-PC.armlinux.org.uk
Diffstat (limited to 'drivers/net/vrf.c')
0 files changed, 0 insertions, 0 deletions