Messages in this thread | | | From | Masahiro Yamada <> | Subject | [PATCH v2 0/3] usb: trivial cleanups with list_first_entry_or_null() | Date | Mon, 19 Sep 2016 01:03:12 +0900 |
| |
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
| |