Skip to content

Commit

Permalink
core/pci-dt-slots: Remove duplicate PCIDBG() definition
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
iamjpn authored and oohal committed Aug 16, 2019
1 parent b03906a commit 4acb8fe
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions core/pci-dt-slot.c
Expand Up @@ -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)
Expand Down

0 comments on commit 4acb8fe

Please sign in to comment.