aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/cdns3/cdns3-imx.c
diff options
context:
space:
mode:
authorSui Jingfeng <[email protected]>2023-08-09 06:34:06 +0800
committerBjorn Helgaas <[email protected]>2023-08-23 17:19:14 -0500
commitb421364a905e05d62f889786d25954c5a4128c80 (patch)
treeb62f6c889853e9cd0451905f8b045310aa232256 /drivers/usb/cdns3/cdns3-imx.c
parent60b4925d1aeaf0c46e540949c50818b9be2c896a (diff)
PCI/VGA: Simplify vga_arbiter_notify_clients()
In vga_arbiter_notify_clients(), "new_state" was computed during every loop iteration even though it doesn't depend on anything that changes during the loop. Move the computation outside the loop. [bhelgaas: drop renames that obscure the purpose, commit log] Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Sui Jingfeng <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions