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
2019-10-16 05:42:27 +02: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
2019-04-23 20:26:43 -06:00
2020-02-05 19:33:46 -07:00
2019-10-13 23:34:43 +02: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
2019-02-20 15:27:09 +08:00
2018-06-13 07:49:12 -04:00
2018-12-06 23:26:32 -05:00
2019-02-09 12:50:22 -07:00
2019-10-14 09:31:41 +02:00
2020-01-20 15:38:16 +01:00
2018-12-05 06:01:35 -07:00
2019-11-07 18:39:16 -05:00
2018-04-06 17:04:33 -04:00
2020-05-18 18:36:55 -04:00
2019-08-11 16:43:41 -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
2019-12-02 18:23:11 -05:00
2020-10-27 08:13:33 +01:00
2020-01-25 12:04:36 -05:00
2018-10-09 04:40:27 -06: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
2019-05-20 13:50:34 +02:00
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
2018-07-19 16:31:37 -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
2019-02-01 16:59:12 +01:00
2020-08-11 20:34:46 +05:30
2019-05-21 17:33:23 -06:00
2020-08-23 13:43:10 -04:00
2020-10-22 09:54:53 -04:00
2018-07-20 15:55:05 -04:00
2018-10-09 04:40:27 -06: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
2018-09-28 18:26:32 +02:00
2020-08-03 22:19:54 -04:00
2020-08-03 22:19:54 -04:00