]> git.baikalelectronics.ru Git - kernel.git/commitdiff
powerpc/prom_init: drop PROM_BUG()
authorDavid Hildenbrand <david@redhat.com>
Tue, 20 Sep 2022 12:23:01 +0000 (14:23 +0200)
committerMichael Ellerman <mpe@ellerman.id.au>
Mon, 26 Sep 2022 10:58:18 +0000 (20:58 +1000)
Unused, let's drop it.

Signed-off-by: David Hildenbrand <david@redhat.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20220920122302.99195-3-david@redhat.com
arch/powerpc/kernel/prom_init.c

index a6669c40c1dbec3789b194198ea8a0b9dd56a114..d464ba412084d10e5d4d7cd9dd27485a1c556aca 100644 (file)
@@ -96,12 +96,6 @@ static int of_workarounds __prombss;
 #define OF_WA_CLAIM    1       /* do phys/virt claim separately, then map */
 #define OF_WA_LONGTRAIL        2       /* work around longtrail bugs */
 
-#define PROM_BUG() do {                                                \
-        prom_printf("kernel BUG at %s line 0x%x!\n",           \
-                   __FILE__, __LINE__);                        \
-       __builtin_trap();                                       \
-} while (0)
-
 #ifdef DEBUG_PROM
 #define prom_debug(x...)       prom_printf(x)
 #else