Re: [PATCH] usb: cleanup with list_first_entry_or_null()

From: Felipe Balbi
Date: Tue Sep 13 2016 - 01:52:35 EST



Hi Masahiro,

Masahiro Yamada <yamada.masahiro@xxxxxxxxxxxxx> writes:
> 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>
> ---

Care to split this into two patches (one for dwc2 and one for dwc3)?

thanks

--
balbi

Attachment: signature.asc
Description: PGP signature