Skip to content
Commit 1058eec0 authored by Simon Glass's avatar Simon Glass
Browse files

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: default avatarSimon Glass <sjg@chromium.org>
parent 6de16dbe
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment