On 09.01.2025 11:27, Wolfram Sang wrote: > On Tue, Jan 07, 2025 at 09:29:07PM +0100, Heiner Kallweit wrote: >> Simplify the logic in this function. And as we're no longer limited to >> C89, move the iterator variable declaration to the for loop. >> >> Signed-off-by: Heiner Kallweit <hkallweit1@xxxxxxxxx> > > Did you have HW to test this patch? > No functional change is intended. I have hw using i801, which calls i2c_register_spd() -> i2c_new_scanned_device(). With this patch tools like decode-dimms still work.