Re: [PATCH v2 05/11] PCI/VGA: Move the new_state assignment out of the loop

2023-08-10 Thread Ilpo Järvinen
On Wed, 9 Aug 2023, Sui Jingfeng wrote: > From: Sui Jingfeng > > In the vga_arbiter_notify_clients() function, the value of the 'new_state' > variable will be 'false' on systems that have more than one VGA device. > The value will be 'true' if there is only one VGA device or no VGA device > at a

[PATCH v2 05/11] PCI/VGA: Move the new_state assignment out of the loop

2023-08-08 Thread Sui Jingfeng
From: Sui Jingfeng In the vga_arbiter_notify_clients() function, the value of the 'new_state' variable will be 'false' on systems that have more than one VGA device. The value will be 'true' if there is only one VGA device or no VGA device at all. Hence, its value is not relevant to the iteration