[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <8737l4l53r.fsf@linux.intel.com>
Date: Tue, 13 Sep 2016 08:51:36 +0300
From: Felipe Balbi <balbi@...nel.org>
To: Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-usb@...r.kernel.org
Cc: Masahiro Yamada <yamada.masahiro@...ionext.com>,
linux-kernel@...r.kernel.org,
Yoshihiro Shimoda <yoshihiro.shimoda.uh@...esas.com>,
Julia Lawall <Julia.Lawall@...6.fr>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
John Youn <johnyoun@...opsys.com>
Subject: Re: [PATCH] usb: cleanup with list_first_entry_or_null()
Hi Masahiro,
Masahiro Yamada <yamada.masahiro@...ionext.com> 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@...ionext.com>
> ---
Care to split this into two patches (one for dwc2 and one for dwc3)?
thanks
--
balbi
Download attachment "signature.asc" of type "application/pgp-signature" (801 bytes)
Powered by blists - more mailing lists