Re: [PATCH 21/34] usb: cdc-acm: optimize acm_softint()

From: Oliver Neukum
Date: Mon Nov 20 2023 - 06:39:40 EST




On 18.11.23 16:50, Yury Norov wrote:
acm_softint(), uses for-loop to traverse urbs_in_error_delay bitmap
bit by bit to find and clear set bits.

We can do it better by using for_each_test_and_clear_bit(), because it
doesn't test already clear bits.

Signed-off-by: Yury Norov <yury.norov@xxxxxxxxx>
Acked-by: Oliver Neukum <oneukum@xxxxxxxx>