Skip to content

Commit d22fed9

Browse files
Ben Widawskydjbw
authored andcommitted
cxl/pci: Remove dev_dbg for unknown register blocks
While interesting to driver developers, the dev_dbg message doesn't do much except clutter up logs. This information should be attainable through sysfs, and someday lspci like utilities. This change additionally helps reduce the LOC in a subsequent patch to refactor some of cxl_pci register mapping. Signed-off-by: Ben Widawsky <[email protected]> Link: https://lore.kernel.org/r/163379784717.692348.3478221381958300790.stgit@dwillia2-desk3.amr.corp.intel.com Signed-off-by: Dan Williams <[email protected]>
1 parent cdcce47 commit d22fed9

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/cxl/pci.c

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -475,9 +475,6 @@ static int cxl_pci_setup_regs(struct cxl_mem *cxlm)
475475
cxl_decode_register_block(reg_lo, reg_hi, &bar, &offset,
476476
&reg_type);
477477

478-
dev_dbg(dev, "Found register block in bar %u @ 0x%llx of type %u\n",
479-
bar, offset, reg_type);
480-
481478
/* Ignore unknown register block types */
482479
if (reg_type > CXL_REGLOC_RBI_MEMDEV)
483480
continue;

0 commit comments

Comments
 (0)