aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJordan Niethe <jniethe5@gmail.com>2019-08-09 14:12:17 +1000
committerOliver O'Halloran <oohall@gmail.com>2019-08-16 15:51:55 +1000
commit4acb8fe7960acbf13545ccafac691fe95047c714 (patch)
tree7d262acfce85a1d7e3e63b74f70158f4255c98ab
parentb03906a990fa3fe5f12e3eaf24a2fac370efb81e (diff)
downloadskiboot-4acb8fe7960acbf13545ccafac691fe95047c714.zip
skiboot-4acb8fe7960acbf13545ccafac691fe95047c714.tar.gz
skiboot-4acb8fe7960acbf13545ccafac691fe95047c714.tar.bz2
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 <jniethe5@gmail.com> Signed-off-by: Oliver O'Halloran <oohall@gmail.com>
-rw-r--r--core/pci-dt-slot.c6
1 files changed, 0 insertions, 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)