]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
scsi: hisi_sas: remove driver versioning
authorJohn Garry <john.garry@huawei.com>
Thu, 10 Aug 2017 16:09:44 +0000 (00:09 +0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 25 Aug 2017 02:28:50 +0000 (22:28 -0400)
The driver version is not updated with changes to the driver, so it has
no value, so just get rid of it.

Signed-off-by: John Garry <john.garry@huawei.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/hisi_sas/hisi_sas.h
drivers/scsi/hisi_sas/hisi_sas_main.c
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c

index 4c393cd8ee8127474251c215acfa8a6fe3fe9aa1..07f4a4cfbec1b3275280eb0193009fbf3e72b264 100644 (file)
@@ -26,8 +26,6 @@
 #include <scsi/sas_ata.h>
 #include <scsi/libsas.h>
 
-#define DRV_VERSION "v1.6"
-
 #define HISI_SAS_MAX_PHYS      9
 #define HISI_SAS_MAX_QUEUES    32
 #define HISI_SAS_QUEUE_SLOTS 512
index 9427835b5021afd29b292db454f3d3329a3b03f8..bdef111434b8c8fd82f4285fb529847273b43f69 100644 (file)
@@ -2013,8 +2013,6 @@ EXPORT_SYMBOL_GPL(hisi_sas_remove);
 
 static __init int hisi_sas_init(void)
 {
-       pr_info("hisi_sas: driver version %s\n", DRV_VERSION);
-
        hisi_sas_stt = sas_domain_attach_transport(&hisi_sas_transport_ops);
        if (!hisi_sas_stt)
                return -ENOMEM;
@@ -2030,7 +2028,6 @@ static __exit void hisi_sas_exit(void)
 module_init(hisi_sas_init);
 module_exit(hisi_sas_exit);
 
-MODULE_VERSION(DRV_VERSION);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("John Garry <john.garry@huawei.com>");
 MODULE_DESCRIPTION("HISILICON SAS controller driver");
index a20e354383f05aeb70c92022398461ed290b055a..2e5fa9717be89acdcc3b1565c0b1c85a5ab089c1 100644 (file)
@@ -2005,7 +2005,6 @@ static struct pci_driver sas_v3_pci_driver = {
 
 module_pci_driver(sas_v3_pci_driver);
 
-MODULE_VERSION(DRV_VERSION);
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("John Garry <john.garry@huawei.com>");
 MODULE_DESCRIPTION("HISILICON SAS controller v3 hw driver based on pci device");