From 4acb8fe7960acbf13545ccafac691fe95047c714 Mon Sep 17 00:00:00 2001 From: Jordan Niethe Date: Fri, 9 Aug 2019 14:12:17 +1000 Subject: core/pci-dt-slots: Remove duplicate PCIDBG() definition PCIDBG() is already defined in pci.h, which is included by pci-dt-slot.c. It should not be defined again so remove this definition. Signed-off-by: Jordan Niethe Signed-off-by: Oliver O'Halloran --- core/pci-dt-slot.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/core/pci-dt-slot.c b/core/pci-dt-slot.c index 5c44955..f0d22c3 100644 --- a/core/pci-dt-slot.c +++ b/core/pci-dt-slot.c @@ -20,12 +20,6 @@ #undef pr_fmt #define pr_fmt(fmt) "DT-SLOT: " fmt -#define PCIDBG(_p, _bdfn, fmt, a...) \ - prlog(PR_DEBUG, "PHB#%04x:%02x:%02x.%x " fmt, \ - (_p)->opal_id, \ - ((_bdfn) >> 8) & 0xff, \ - ((_bdfn) >> 3) & 0x1f, (_bdfn) & 0x7, ## a) - struct dt_node *dt_slots; static struct dt_node *map_phb_to_slot(struct phb *phb) -- cgit v1.1