Re: [PATCH v2] can: ucan: Use two USB endpoint API functions rather than duplicating their implementations
From: Vincent Mailhol
Date: Thu Jun 26 2025 - 11:03:45 EST
Hi Markus,
Thanks for the v2.
On 26/06/2025 at 23:46, Markus Elfring wrote:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Thu, 26 Jun 2025 16:34:26 +0200
>
> * Reuse existing functionality from usb_endpoint_is_bulk_in()
> and usb_endpoint_is_bulk_out() instead of keeping duplicate source code.
>
> * Omit two comment lines which became redundant with this refactoring.
>
> The source code was transformed by using the Coccinelle software.
>
> Signed-off-by: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
Reviewed-by: Vincent Mailhol <mailhol.vincent@xxxxxxxxxx>
Yours sincerely,
Vincent Mailhol