diff options
| author | 2023-08-09 06:34:06 +0800 | |
|---|---|---|
| committer | 2023-08-23 17:19:14 -0500 | |
| commit | b421364a905e05d62f889786d25954c5a4128c80 (patch) | |
| tree | b62f6c889853e9cd0451905f8b045310aa232256 /tools/lib/python/kdoc/python_version.py | |
| parent | PCI/VGA: Correct vga_update_device_decodes() parameter type (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/20230808223412.1743176-6-sui.jingfeng@linux.dev
Signed-off-by: Sui Jingfeng <suijingfeng@loongson.cn>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Diffstat (limited to 'tools/lib/python/kdoc/python_version.py')
0 files changed, 0 insertions, 0 deletions
