]> git.baikalelectronics.ru Git - kernel.git/commit
drivers/ide: convert to list_for_each_entry_safe()
authorchenqiwu <chenqiwu@xiaomi.com>
Fri, 14 Feb 2020 09:16:25 +0000 (17:16 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Apr 2020 01:06:44 +0000 (18:06 -0700)
commit9f38327583bb0e42b1e2dfb66d0adc2b82a89b08
treea55e1812af4c9ac9bc822050168480d5546baf73
parent4c88f0662c49caa6111d49b188485b4e9370292e
drivers/ide: convert to list_for_each_entry_safe()

Use list_for_each_entry_safe() instead of list_for_each_safe()
to simplify the code.

Signed-off-by: chenqiwu <chenqiwu@xiaomi.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ide/ide-scan-pci.c