Re: [PATCH] usb: cleanup with list_first_entry_or_null()
From: John Youn
Date: Tue Sep 13 2016 - 15:17:46 EST
On 9/12/2016 10:52 PM, Felipe Balbi wrote:
>
> 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
>
For the dwc2 portion, you can add my acked-by.
Acked-by: John Youn <johnyoun@xxxxxxxxxxxx>
John