mirror of
https://github.com/linux-sunxi/u-boot-sunxi.git
synced 2024-02-12 11:16:03 +08:00
Revert "GCC4.6: Convert various empty macros to inline functions"
This reverts commit 60ce53cf9f
.
The commit causes build breakage for a number of boards. This results
from the fact that now the arguments of debug() actually get
referenced (even if there is hope that the compiler will optimize
away the debug() call). The obvious fix to that probem (change the
code to always declare the referenced variables and data structures)
increases the code size, and was this rejected. So it was decided to
revert this commit until a better solution is found.
This commit is contained in:
@ -63,7 +63,7 @@
|
||||
#ifdef USB_STOR_DEBUG
|
||||
#define USB_STOR_PRINTF(fmt, args...) printf(fmt , ##args)
|
||||
#else
|
||||
static inline void USB_STOR_PRINTF(const char *fmt, ...) {}
|
||||
#define USB_STOR_PRINTF(fmt, args...)
|
||||
#endif
|
||||
|
||||
#include <scsi.h>
|
||||
|
Reference in New Issue
Block a user