aboutsummaryrefslogtreecommitdiff
path: root/drivers/usb/dwc3
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2017-09-16 14:10:45 +0900
committerTom Rini <trini@konsulko.com>2017-10-04 12:00:20 -0400
commit0a70fb4c1c180d6ad6cd4c1dcd3fae8c5d4dd62e (patch)
treeb6f0c93e64ad4534e982ad28eaa599fa92f38e33 /drivers/usb/dwc3
parent059a48096c883e98bc1a4a561abc0069f44cbfea (diff)
downloadu-boot-0a70fb4c1c180d6ad6cd4c1dcd3fae8c5d4dd62e.zip
u-boot-0a70fb4c1c180d6ad6cd4c1dcd3fae8c5d4dd62e.tar.gz
u-boot-0a70fb4c1c180d6ad6cd4c1dcd3fae8c5d4dd62e.tar.bz2
bug.h: move runtime BUG/WARN macros into <linux/bug.h>
Collect runtime BUG/WARN into a self-contained header <linux/bug.h> to make these macros easier to use. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Diffstat (limited to 'drivers/usb/dwc3')
-rw-r--r--drivers/usb/dwc3/linux-compat.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/linux-compat.h b/drivers/usb/dwc3/linux-compat.h
index 64db4ec..5cbe377 100644
--- a/drivers/usb/dwc3/linux-compat.h
+++ b/drivers/usb/dwc3/linux-compat.h
@@ -14,7 +14,6 @@
#define WARN(val, format, arg...) debug(format, ##arg)
#define dev_WARN(dev, format, arg...) debug(format, ##arg)
-#define WARN_ON_ONCE(val) debug("Error %d\n", val)
static inline size_t strlcat(char *dest, const char *src, size_t n)
{