projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef78f2d
)
powerpc/ps3: Drop unused DBG macro
author
Michael Ellerman
<mpe@ellerman.id.au>
Fri, 23 Oct 2020 03:13:05 +0000
(14:13 +1100)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Thu, 19 Nov 2020 03:50:14 +0000
(14:50 +1100)
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
arch/powerpc/boot/ps3.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/boot/ps3.c
b/arch/powerpc/boot/ps3.c
index
6e4efbd
..
f157717
100644
(file)
--- 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