diff options
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/ps3/vuart.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/ps3/vuart.c b/drivers/ps3/vuart.c index 6c12744eeb9d..7d7cab1d91b4 100644 --- a/drivers/ps3/vuart.c +++ b/drivers/ps3/vuart.c | |||
@@ -82,14 +82,6 @@ struct ports_bmp { | |||
82 | u64 unused[3]; | 82 | u64 unused[3]; |
83 | } __attribute__ ((aligned (32))); | 83 | } __attribute__ ((aligned (32))); |
84 | 84 | ||
85 | /* redefine dev_dbg to do a syntax check */ | ||
86 | |||
87 | #if !defined(DEBUG) | ||
88 | #undef dev_dbg | ||
89 | static inline int __attribute__ ((format (printf, 2, 3))) dev_dbg( | ||
90 | const struct device *_dev, const char *fmt, ...) {return 0;} | ||
91 | #endif | ||
92 | |||
93 | #define dump_ports_bmp(_b) _dump_ports_bmp(_b, __func__, __LINE__) | 85 | #define dump_ports_bmp(_b) _dump_ports_bmp(_b, __func__, __LINE__) |
94 | static void __attribute__ ((unused)) _dump_ports_bmp( | 86 | static void __attribute__ ((unused)) _dump_ports_bmp( |
95 | const struct ports_bmp* bmp, const char* func, int line) | 87 | const struct ports_bmp* bmp, const char* func, int line) |