diff options
author | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-08-13 02:52:09 +0300 |
---|---|---|
committer | Takashi Sakamoto <o-takashi@sakamocchi.jp> | 2024-08-13 02:52:09 +0300 |
commit | 6ec9e9260fe405a667e0dfbdf706483d648a8779 (patch) | |
tree | 3f707b684441ef72bbd2c84c137976cb0c908cef /drivers/firewire/ohci.c | |
parent | 58ee62c2907f4a582edc98c811f23011c5607686 (diff) | |
download | linux-6ec9e9260fe405a667e0dfbdf706483d648a8779.tar.xz |
firewire: core: code refactoring to use idr_for_each_entry() macro instead of idr_for_each() function
This commit is a preparation to use xa_for_each() macro. Current
implementation uses idr_for_each() function and has a disadvantage to
replace with the macro. The IDR framework has idr_for_each_entry() macro
for the similar purpose. This commit replace the function with the
macro with minor code refactoring.
Link: https://lore.kernel.org/r/20240812235210.28458-5-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Diffstat (limited to 'drivers/firewire/ohci.c')
0 files changed, 0 insertions, 0 deletions