RE: [PATCH v2 3/3] usb: renesas_usbhs: cleanup with list_first_entry_or_null()
From: Yoshihiro Shimoda
Date: Tue Sep 27 2016 - 08:14:23 EST
Hi Yamada-san,
> From: Masahiro Yamada
> Sent: Monday, September 19, 2016 1:03 AM
>
> The combo of list_empty() check and return list_first_entry()
> can be replaced with list_first_entry_or_null().
>
> Signed-off-by: Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx>
Thank you for the patch!
Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@xxxxxxxxxxx>
Best regards,
Yoshihiro Shimoda