diff mbox series

[1/4] core/pci-dt-slots: Remove duplicate PCIDBG() definition

Message ID 20190809041220.18245-1-jniethe5@gmail.com
State Accepted
Headers show
Series [1/4] core/pci-dt-slots: Remove duplicate PCIDBG() definition | expand

Checks

Context Check Description
snowpatch_ozlabs/apply_patch success Successfully applied on branch master (0e1db80c70477d89a73c7f2a1a7e19c7d8292c5f)
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot success Test snowpatch/job/snowpatch-skiboot on branch master
snowpatch_ozlabs/snowpatch_job_snowpatch-skiboot-dco success Signed-off-by present

Commit Message

Jordan Niethe Aug. 9, 2019, 4:12 a.m. UTC
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 <jniethe5@gmail.com>
---
 core/pci-dt-slot.c | 6 ------
 1 file changed, 6 deletions(-)
diff mbox series

Patch

diff --git a/core/pci-dt-slot.c b/core/pci-dt-slot.c
index 5c44955bdb81..f0d22c3738e7 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)