[PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null()

From: Masahiro Yamada
Date: Sun Sep 18 2016 - 12:05:13 EST


Replace the chain of list_empty() and list_first_entry()
with list_first_entry_or_null().

Changes in v2:
- Split into per-driver patches


Masahiro Yamada (3):
usb: dwc2: cleanup with list_first_entry_or_null()
usb: dwc3: cleanup with list_first_entry_or_null()
usb: renesas_usbhs: cleanup with list_first_entry_or_null()

drivers/usb/dwc2/gadget.c | 6 ++----
drivers/usb/dwc3/gadget.h | 5 +----
drivers/usb/renesas_usbhs/fifo.c | 5 +----
3 files changed, 4 insertions(+), 12 deletions(-)

--
1.9.1