diff options
| author | Masahiro Yamada <[email protected]> | 2017-09-16 14:10:45 +0900 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2017-10-04 12:00:20 -0400 |
| commit | 0a70fb4c1c180d6ad6cd4c1dcd3fae8c5d4dd62e (patch) | |
| tree | b6f0c93e64ad4534e982ad28eaa599fa92f38e33 /drivers | |
| parent | 059a48096c883e98bc1a4a561abc0069f44cbfea (diff) | |
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 <[email protected]>
Diffstat (limited to 'drivers')
| -rw-r--r-- | drivers/usb/dwc3/linux-compat.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/usb/dwc3/linux-compat.h b/drivers/usb/dwc3/linux-compat.h index 64db4ecc3c6..5cbe377e3cd 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) { |
