]> git.dujemihanovic.xyz Git - u-boot.git/commit
usb: Drop use of BUG_ON() and WARN_ON()
authorSimon Glass <sjg@chromium.org>
Mon, 30 Dec 2019 04:19:12 +0000 (21:19 -0700)
committerSimon Glass <sjg@chromium.org>
Tue, 7 Jan 2020 23:02:38 +0000 (16:02 -0700)
commit1058eec0f4a34a28095276729d390885d468a44f
tree27510969a4a589b1295f9011291c23ec39400cf4
parent6de16dbe44be65946d56eff42263fd799336a9e6
usb: Drop use of BUG_ON() and WARN_ON()

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@chromium.org>
drivers/usb/gadget/composite.c
drivers/usb/gadget/f_mass_storage.c
drivers/usb/musb-new/musb_core.c
drivers/usb/musb-new/musb_gadget_ep0.c