Andy Shevchenko 3cbb026f17 linux/compat.h: Remove debug() from spin_lock_irqsave()
It seems nobody tested the debug() option in spin_lock_irqsave().
Currently, when #define DEBUG, it spoils the compiler with

In file included from drivers/usb/dwc3/gadget.c:18:
drivers/usb/dwc3/gadget.c: In function ‘dwc3_gadget_set_selfpowered’:
include/log.h:235:4: warning: ‘flags’ is used uninitialized in this function [-Wuninitialized]
  235 |    printf(pr_fmt(fmt), ##args); \
      |    ^~~~~~
drivers/usb/dwc3/gadget.c:1347:17: note: ‘flags’ was declared here
 1347 |  unsigned long  flags;
      |                 ^~~~~

and so on...
Drop useless debug() call to make compiler happy.

Fixes: 0c06db598367 ("lib, linux: move linux specific defines to linux/compat.h")
Cc: Heiko Schocher <hs@denx.de>
Cc: Tom Rini <trini@ti.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushchenko@epam.com>
Reviewed-by: Heiko Schocher <hs@denx.de>
2020-12-02 16:21:58 -05:00
..
2020-11-06 10:18:20 +08:00
2019-12-06 16:44:20 -05:00
2020-09-30 16:55:03 -04:00
2020-10-23 16:38:33 -04:00
2020-10-30 15:24:30 -04:00
2020-10-22 09:54:53 -04:00
2020-05-11 10:16:49 +05:30
2020-04-17 12:32:36 -04:00
2020-07-09 12:33:24 +08:00
2020-05-18 17:33:33 -04:00
2020-07-28 19:30:39 -06:00
2020-02-05 19:33:46 -07:00
2020-10-30 14:20:27 +01:00
2020-02-05 19:33:46 -07:00
2020-05-07 09:01:42 -04:00
2020-08-03 22:19:54 -04:00
2020-11-21 07:26:16 +01:00
2020-09-06 21:21:41 +02:00
2020-05-18 21:19:23 -04:00
2020-05-18 17:33:33 -04:00
2020-08-07 22:31:32 -04:00
2020-10-30 10:56:11 -04:00
2020-05-18 17:33:33 -04:00
2020-06-12 13:14:07 -04:00
2020-01-20 15:38:16 +01:00
2020-05-18 18:36:55 -04:00
2020-04-17 12:32:36 -04:00
2020-08-04 23:30:02 -04:00
2020-11-06 09:51:34 +08:00
2020-10-27 08:13:33 +01:00
2020-01-25 12:04:36 -05:00
2020-05-18 17:33:33 -04:00
2020-07-17 10:47:19 -04:00
2020-10-23 16:52:09 +05:30
2020-06-14 21:07:20 +02:00
2020-09-30 11:55:23 -04:00
2020-02-05 19:33:46 -07:00
2020-06-14 21:07:20 +02:00
2020-07-09 06:02:44 +02:00
2020-09-30 11:55:23 -04:00
2020-05-18 17:33:31 -04:00
2020-02-05 19:33:46 -07:00
2020-08-03 22:19:54 -04:00
2020-08-03 22:19:54 -04:00
2020-08-11 20:34:46 +05:30
2020-08-23 13:43:10 -04:00
2020-10-22 09:54:53 -04:00
2020-11-06 10:18:20 +08:00
2020-08-03 22:19:54 -04:00
2020-01-21 15:56:15 +01:00
2020-11-14 05:05:46 +01:00
2020-04-24 16:40:09 -04:00
2020-08-03 22:19:54 -04:00
2020-08-03 22:19:54 -04:00