[PATCH 03/19] usb: Drop use of BUG_ON() and WARN_ON()
sjg at google.com
sjg at google.com
Fri Jan 10 09:57:53 CET 2020
These macros use __FILE__ which inserts the full path of the object file
into U-Boot, thus increasing file size. Drop these usages.
An older version of this patch was submitted here:
http://patchwork.ozlabs.org/patch/1205784/
Signed-off-by: Simon Glass <sjg at chromium.org>
---
drivers/usb/gadget/composite.c | 4 ++++
drivers/usb/gadget/f_mass_storage.c | 4 ++++
drivers/usb/musb-new/musb_core.c | 4 ++++
drivers/usb/musb-new/musb_gadget_ep0.c | 2 +-
4 files changed, 13 insertions(+), 1 deletion(-)
Applied to u-boot-dm, thanks!
More information about the U-Boot
mailing list