瀏覽代碼

PCI: hotplug: Remove hotplug core message

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>
Bjorn Helgaas 8 年之前
父節點
當前提交
d9b47d5496
共有 1 個文件被更改,包括 3 次插入7 次删除
  1. 3 7
      drivers/pci/hotplug/pci_hotplug_core.c

+ 3 - 7
drivers/pci/hotplug/pci_hotplug_core.c

@@ -23,6 +23,9 @@
  *
  *
  * Send feedback to <kristen.c.accardi@intel.com>
  * 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 */
 #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 info(format, arg...) printk(KERN_INFO "%s: " format, MY_NAME, ## arg)
 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg)
 #define warn(format, arg...) printk(KERN_WARNING "%s: " format, MY_NAME, ## arg)
 
 
-
 /* local variables */
 /* local variables */
 static bool debug;
 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 LIST_HEAD(pci_hotplug_slot_list);
 static DEFINE_MUTEX(pci_hp_mutex);
 static DEFINE_MUTEX(pci_hp_mutex);
 
 
@@ -534,7 +531,6 @@ static int __init pci_hotplug_init(void)
 		return result;
 		return result;
 	}
 	}
 
 
-	info(DRIVER_DESC " version: " DRIVER_VERSION "\n");
 	return result;
 	return result;
 }
 }
 device_initcall(pci_hotplug_init);
 device_initcall(pci_hotplug_init);