summaryrefslogtreecommitdiff
path: root/arch/powerpc/boot/ps3.c
diff options
context:
space:
mode:
authorMichael Ellerman <mpe@ellerman.id.au>2020-10-23 06:13:05 +0300
committerMichael Ellerman <mpe@ellerman.id.au>2020-11-19 06:50:14 +0300
commitcb5d4c465f31bc44b8bbd4934678c2b140a2ad29 (patch)
treefa16ea5a76f06d765aa1d7b40f7a26806ecd0e8e /arch/powerpc/boot/ps3.c
parentef78f2dd2398ce8ed9eeaab9c9f8af2e15f5d870 (diff)
downloadlinux-cb5d4c465f31bc44b8bbd4934678c2b140a2ad29.tar.xz
powerpc/ps3: Drop unused DBG macro
This DBG macro is unused, and has been unused since the file was originally merged into mainline. Just drop it. Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201023031305.3284819-1-mpe@ellerman.id.au
Diffstat (limited to 'arch/powerpc/boot/ps3.c')
-rw-r--r--arch/powerpc/boot/ps3.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/arch/powerpc/boot/ps3.c b/arch/powerpc/boot/ps3.c
index 6e4efbdb6b7c..f157717ae814 100644
--- a/arch/powerpc/boot/ps3.c
+++ b/arch/powerpc/boot/ps3.c
@@ -21,13 +21,6 @@ extern int lv1_get_logical_ppe_id(u64 *out_1);
extern int lv1_get_repository_node_value(u64 in_1, u64 in_2, u64 in_3,
u64 in_4, u64 in_5, u64 *out_1, u64 *out_2);
-#ifdef DEBUG
-#define DBG(fmt...) printf(fmt)
-#else
-static inline int __attribute__ ((format (printf, 1, 2))) DBG(
- const char *fmt, ...) {return 0;}
-#endif
-
BSS_STACK(4096);
/* A buffer that may be edited by tools operating on a zImage binary so as to