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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux