From patchwork Thu Aug 10 16:09:44 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John Garry X-Patchwork-Id: 109822 Delivered-To: patch@linaro.org Received: by 10.182.109.195 with SMTP id hu3csp2562599obb; Thu, 10 Aug 2017 08:45:14 -0700 (PDT) X-Received: by 10.99.157.8 with SMTP id i8mr11929969pgd.101.1502379914512; Thu, 10 Aug 2017 08:45:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1502379914; cv=none; d=google.com; s=arc-20160816; b=qY68uERaMbxSJH8QhPMBaD3qmgXEl05OcZihzondN7m/LggBEEqjK28SLRvPGo+mb6 3jN+ltXpvLhwTOWNv48ZuCdrq7RekJVz4jBonBhqLrzevdDmlnzA9akmUqTRqwvfr+ax HlbSxNpFARPhOVW+U92UNATjiWyq8u+6Y/RMo//Avigmrm/tPso9CaR1YJI+QaanUEJo lXyAMe1JT39HJci81bIrMgJQTM4dnz54w1tKEweO2Pjqj58Bl+qIe0QxxrcrwwbKtpVp 1JARvRPuOZjR40Tblw3ESEDrgimJr0P1BcVVtMqE7Xqg0YVo/I2BKK3BkNN6rTELgtNA N+vA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:arc-authentication-results; bh=FtNHd/Czb9Vc4hbi5akhNyOjP8bjNCmRiWh18b9P9ho=; b=pFeAOpnuzo+zJdvyEFo2rOyg67Xep0Ksa4yxe1TLp1LOVMYJeCPyda5cjtnA8S5Kj8 gMtLRTgf8a11X1uiPN4bC/shMC9IVSvFVm8Wbyp0FV3AwsXcXFqvI1EIqdBhYdUmYBej uhGNzERlyh39ie+I0xBkUx8Gqz2fY5MTJP0OyWL0t5jwqAi46LL+t8erHC6Z5CnOWJvr pxxD8z4/t/ake2/26ZG5cWOKCgs9lZSAtvJeX+wGJv9n8gQ94HRSQ/W/2eOZ9xnPnmiE TWF97pGLTnz+Jg2IuKJ3oYdrHNgAaHoMfF2ycrdc2WhFQBhYb2JKWwUESqOCqCNqnBwi J4rA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id a62si4322125pfj.230.2017.08.10.08.45.13; Thu, 10 Aug 2017 08:45:14 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753221AbdHJPoz (ORCPT + 25 others); Thu, 10 Aug 2017 11:44:55 -0400 Received: from szxga04-in.huawei.com ([45.249.212.190]:3499 "EHLO szxga04-in.huawei.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752962AbdHJPmz (ORCPT ); Thu, 10 Aug 2017 11:42:55 -0400 Received: from 172.30.72.58 (EHLO DGGEMS402-HUB.china.huawei.com) ([172.30.72.58]) by dggrg04-dlp.huawei.com (MOS 4.4.6-GA FastPath queued) with ESMTP id DEV99178; Thu, 10 Aug 2017 23:42:51 +0800 (CST) Received: from localhost.localdomain (10.67.212.75) by DGGEMS402-HUB.china.huawei.com (10.3.19.202) with Microsoft SMTP Server id 14.3.301.0; Thu, 10 Aug 2017 23:42:41 +0800 From: John Garry To: , CC: , , , , John Garry Subject: [PATCH 19/19] scsi: hisi_sas: remove driver versioning Date: Fri, 11 Aug 2017 00:09:44 +0800 Message-ID: <1502381384-219889-20-git-send-email-john.garry@huawei.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1502381384-219889-1-git-send-email-john.garry@huawei.com> References: <1502381384-219889-1-git-send-email-john.garry@huawei.com> MIME-Version: 1.0 X-Originating-IP: [10.67.212.75] X-CFilter-Loop: Reflected X-Mirapoint-Virus-RAPID-Raw: score=unknown(0), refid=str=0001.0A090203.598C7EFD.000E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0, ip=0.0.0.0, so=2014-11-16 11:51:01, dmn=2013-03-21 17:37:32 X-Mirapoint-Loop-Id: 30093efa697e45dad0af716b0cedae0c Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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(-) -- 1.9.1 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 #include -#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 "); 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 "); MODULE_DESCRIPTION("HISILICON SAS controller v3 hw driver based on pci device");