diff options
author | Paul Mackerras <paulus@samba.org> | 2007-04-30 13:03:39 +1000 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-04-30 13:03:39 +1000 |
commit | f900e9777fc9b65140cb9570438597bc8fae56ab (patch) | |
tree | 55c57fcc4a9d89c833a06b32ab9386baf243f4c7 /drivers/ps3/vuart.c | |
parent | 49e1900d4cc2e7bcecb681fe60f0990bec2dcce8 (diff) | |
download | op-kernel-dev-f900e9777fc9b65140cb9570438597bc8fae56ab.zip op-kernel-dev-f900e9777fc9b65140cb9570438597bc8fae56ab.tar.gz |
[POWERPC] Remove dev_dbg redefinition in drivers/ps3/vuart.c
Commit 404d5b185b4eb56d6fa2f7bd27833f8df1c38ce4 changed the definition
of dev_dbg in the !DEBUG case from being a #define to being a static
inline. There was code in drivers/ps3/vuart.c to do exactly that,
which fails to compile now. This fixes it by removing the redefinition,
as the redefinition is now superfluous.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'drivers/ps3/vuart.c')
-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 6c12744..7d7cab1 100644 --- a/drivers/ps3/vuart.c +++ b/drivers/ps3/vuart.c @@ -82,14 +82,6 @@ struct ports_bmp { u64 unused[3]; } __attribute__ ((aligned (32))); -/* redefine dev_dbg to do a syntax check */ - -#if !defined(DEBUG) -#undef dev_dbg -static inline int __attribute__ ((format (printf, 2, 3))) dev_dbg( - const struct device *_dev, const char *fmt, ...) {return 0;} -#endif - #define dump_ports_bmp(_b) _dump_ports_bmp(_b, __func__, __LINE__) static void __attribute__ ((unused)) _dump_ports_bmp( const struct ports_bmp* bmp, const char* func, int line) |