PCI: Remove service driver load/unload messages
authorBjorn Helgaas <bhelgaas@google.com>
Tue, 15 Nov 2016 13:54:19 +0000 (07:54 -0600)
committerBjorn Helgaas <bhelgaas@google.com>
Mon, 12 Dec 2016 16:05:24 +0000 (10:05 -0600)
Remove the "service driver %s loaded" and unloaded messages.  All service
drivers already log something in their probe functions, where they can log
more useful details.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/pcie/portdrv_core.c

index e9270b4026f3c05ff43959c8945efef3e63ae1de..9698289f105c324bf6d3cd42ce12d421c0fd2838 100644 (file)
@@ -499,7 +499,6 @@ static int pcie_port_probe_service(struct device *dev)
        if (status)
                return status;
 
-       dev_printk(KERN_DEBUG, dev, "service driver %s loaded\n", driver->name);
        get_device(dev);
        return 0;
 }
@@ -524,8 +523,6 @@ static int pcie_port_remove_service(struct device *dev)
        pciedev = to_pcie_device(dev);
        driver = to_service_driver(dev->driver);
        if (driver && driver->remove) {
-               dev_printk(KERN_DEBUG, dev, "unloading service driver %s\n",
-                       driver->name);
                driver->remove(pciedev);
                put_device(dev);
        }