Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1527064

[PATCH v2 7/9] PCI: hotplug: Remove hotplug core message

From Bjorn Helgaas <bhelgaas@google.com>
Newsgroups linux.kernel
Subject [PATCH v2 7/9] PCI: hotplug: Remove hotplug core message
Date 2016-11-21 22:50 +0100
Message-ID <sG4Do-6Da-35@gated-at.bofh.it> (permalink)
References <sG4Dn-6Da-5@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Remove the "PCI Hot Plug PCI Core" version message.  I don't think it
contains any useful information.  Remove unused #defines and move the
author information to a comment.

Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
---
 drivers/pci/hotplug/pci_hotplug_core.c |   10 +++-------
 1 file changed, 3 insertions(+), 7 deletions(-)

diff --git a/drivers/pci/hotplug/pci_hotplug_core.c b/drivers/pci/hotplug/pci_hotplug_core.c
index fea0b8b..56013d0 100644
--- a/drivers/pci/hotplug/pci_hotplug_core.c
+++ b/drivers/pci/hotplug/pci_hotplug_core.c
@@ -23,6 +23,9 @@
  *
  * Send feedback to <kristen.c.accardi@intel.com>
  *
+ * Authors:
+ *   Greg Kroah-Hartman <greg@kroah.com>
+ *   Scott Murray <scottm@somanetworks.com>
  */
 
 #include <linux/module.h>	/* try_module_get & module_put */
@@ -50,15 +53,9 @@
 #define info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg)
 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg)
 
-
 /* local variables */
 static bool debug;
 
-#define DRIVER_VERSION	"0.5"
-#define DRIVER_AUTHOR	"Greg Kroah-Hartman <greg@kroah.com>, Scott Murray <scottm@somanetworks.com>"
-#define DRIVER_DESC	"PCI Hot Plug PCI Core"
-
-
 static LIST_HEAD(pci_hotplug_slot_list);
 static DEFINE_MUTEX(pci_hp_mutex);
 
@@ -534,7 +531,6 @@ static int __init pci_hotplug_init(void)
 		return result;
 	}
 
-	info(DRIVER_DESC " version: " DRIVER_VERSION "\n");
 	return result;
 }
 device_initcall(pci_hotplug_init);

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH v2 0/9] PCI: Tidy up messages Bjorn Helgaas <bhelgaas@google.com> - 2016-11-21 22:50 +0100
  [PATCH v2 1/9] PCI/PME: Drop unused support for PMEs from Root  Complex Event Collectors Bjorn Helgaas <bhelgaas@google.com> - 2016-11-21 22:50 +0100
    Re: [PATCH v2 1/9] PCI/PME: Drop unused support for PMEs from Root Complex Event Collectors "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-11-21 23:30 +0100
      Re: [PATCH v2 1/9] PCI/PME: Drop unused support for PMEs from Root  Complex Event Collectors Bjorn Helgaas <helgaas@kernel.org> - 2016-11-21 23:50 +0100
        Re: [PATCH v2 1/9] PCI/PME: Drop unused support for PMEs from Root Complex Event Collectors "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-11-22 00:00 +0100
          Re: [PATCH v2 1/9] PCI/PME: Drop unused support for PMEs from Root  Complex Event Collectors Bjorn Helgaas <helgaas@kernel.org> - 2016-11-22 00:10 +0100
  [PATCH v2 2/9] PCI/PME: Log PME IRQ when claiming Root Port Bjorn Helgaas <bhelgaas@google.com> - 2016-11-21 22:50 +0100
    Re: [PATCH v2 2/9] PCI/PME: Log PME IRQ when claiming Root Port "Rafael J. Wysocki" <rjw@rjwysocki.net> - 2016-11-21 23:30 +0100
  [PATCH v2 8/9] PCI: pciehp: Remove loading message Bjorn Helgaas <bhelgaas@google.com> - 2016-11-21 22:50 +0100
  [PATCH v2 3/9] PCI/AER: Remove unused version macros Bjorn Helgaas <bhelgaas@google.com> - 2016-11-21 22:50 +0100
  [PATCH v2 7/9] PCI: hotplug: Remove hotplug core message Bjorn Helgaas <bhelgaas@google.com> - 2016-11-21 22:50 +0100
  [PATCH v2 6/9] PCI: Remove service driver load/unload messages Bjorn Helgaas <bhelgaas@google.com> - 2016-11-21 22:50 +0100
  [PATCH v2 4/9] PCI/AER: Log errors with PCI device,  not PCIe service device Bjorn Helgaas <bhelgaas@google.com> - 2016-11-21 22:50 +0100
  Re: [PATCH v2 0/9] PCI: Tidy up messages Bjorn Helgaas <helgaas@kernel.org> - 2016-11-23 18:40 +0100

csiph-web