RE: [PATCH v2 3/3] usb: renesas_usbhs: cleanup with list_first_entry_or_null()

2016-09-27 Thread Yoshihiro Shimoda
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 Thank you for the patch!

RE: [PATCH v2 3/3] usb: renesas_usbhs: cleanup with list_first_entry_or_null()

2016-09-27 Thread Yoshihiro Shimoda
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 Thank you for the patch! Acked-by: Yoshihiro Shimoda