Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1708775
| From | John Garry <john.garry@huawei.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH 19/19] scsi: hisi_sas: remove driver versioning |
| Date | 2017-08-10 17:50 +0200 |
| Message-ID | <ucXSI-7AZ-77@gated-at.bofh.it> (permalink) |
| References | <ucXSF-7AZ-3@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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>
---
drivers/scsi/hisi_sas/hisi_sas.h | 2 --
drivers/scsi/hisi_sas/hisi_sas_main.c | 3 ---
drivers/scsi/hisi_sas/hisi_sas_v3_hw.c | 1 -
3 files changed, 6 deletions(-)
diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h
index 4c393cd..07f4a4c 100644
--- a/drivers/scsi/hisi_sas/hisi_sas.h
+++ b/drivers/scsi/hisi_sas/hisi_sas.h
@@ -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
diff --git a/drivers/scsi/hisi_sas/hisi_sas_main.c b/drivers/scsi/hisi_sas/hisi_sas_main.c
index 9427835..bdef111 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_main.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_main.c
@@ -2013,8 +2013,6 @@ int hisi_sas_remove(struct platform_device *pdev)
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");
diff --git a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
index a20e354..2e5fa97 100644
--- a/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
+++ b/drivers/scsi/hisi_sas/hisi_sas_v3_hw.c
@@ -2005,7 +2005,6 @@ enum {
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");
--
1.9.1
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH 00/19] hisi_sas: misc fixes, improvements, and new features John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200 [PATCH 06/19] scsi: hisi_sas: remove repeated device config in v2 hw John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200 [PATCH 03/19] scsi: hisi_sas: fix v2 hw underflow residual value John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200 [PATCH 12/19] scsi: hisi_sas: fix v3 hw channel interrupt processing John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200 [PATCH 17/19] scsi: hisi_sas: remove phy_down_v3_hw() res variable John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200 [PATCH 09/19] scsi: hisi_sas: support zone management commands John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200 [PATCH 05/19] scsi: hisi_sas: use array for v2 hw ECC errors John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200 [PATCH 19/19] scsi: hisi_sas: remove driver versioning John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200 [PATCH 15/19] scsi: hisi_sas: add reset handler for v3 hw John Garry <john.garry@huawei.com> - 2017-08-10 17:50 +0200 [PATCH 01/19] scsi: hisi_sas: fix reset and port ID refresh issues John Garry <john.garry@huawei.com> - 2017-08-10 18:00 +0200 Re: [PATCH 00/19] hisi_sas: misc fixes, improvements, and new features "Martin K. Petersen" <martin.petersen@oracle.com> - 2017-08-11 02:20 +0200
csiph-web