diff mbox series

chelsio/chcr: Remove useless MODULE_VERSION

Message ID 20210415100607.422838-1-vinay.yadav@chelsio.com
State Accepted
Commit 66810912fd1e38fdd0405feb9f46fc23c024c70f
Headers show
Series chelsio/chcr: Remove useless MODULE_VERSION | expand

Commit Message

Vinay Kumar Yadav April 15, 2021, 10:06 a.m. UTC
kernel version describes module state more accurately.
hence remove chcr versioning.

Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>
---
 drivers/crypto/chelsio/chcr_core.c | 3 +--
 drivers/crypto/chelsio/chcr_core.h | 1 -
 2 files changed, 1 insertion(+), 3 deletions(-)

Comments

Herbert Xu April 22, 2021, 7:46 a.m. UTC | #1
On Thu, Apr 15, 2021 at 03:36:07PM +0530, Vinay Kumar Yadav wrote:
> kernel version describes module state more accurately.

> hence remove chcr versioning.

> 

> Signed-off-by: Vinay Kumar Yadav <vinay.yadav@chelsio.com>

> ---

>  drivers/crypto/chelsio/chcr_core.c | 3 +--

>  drivers/crypto/chelsio/chcr_core.h | 1 -

>  2 files changed, 1 insertion(+), 3 deletions(-)


Patch applied.  Thanks.
-- 
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
diff mbox series

Patch

diff --git a/drivers/crypto/chelsio/chcr_core.c b/drivers/crypto/chelsio/chcr_core.c
index f91f9d762a45..12fdae41a967 100644
--- a/drivers/crypto/chelsio/chcr_core.c
+++ b/drivers/crypto/chelsio/chcr_core.c
@@ -184,7 +184,7 @@  static void *chcr_uld_add(const struct cxgb4_lld_info *lld)
 	struct uld_ctx *u_ctx;
 
 	/* Create the device and add it in the device list */
-	pr_info_once("%s - version %s\n", DRV_DESC, DRV_VERSION);
+	pr_info_once("%s\n", DRV_DESC);
 	if (!(lld->ulp_crypto & ULP_CRYPTO_LOOKASIDE))
 		return ERR_PTR(-EOPNOTSUPP);
 
@@ -309,4 +309,3 @@  module_exit(chcr_crypto_exit);
 MODULE_DESCRIPTION("Crypto Co-processor for Chelsio Terminator cards.");
 MODULE_LICENSE("GPL");
 MODULE_AUTHOR("Chelsio Communications");
-MODULE_VERSION(DRV_VERSION);
diff --git a/drivers/crypto/chelsio/chcr_core.h b/drivers/crypto/chelsio/chcr_core.h
index b02f981e7c32..f7c8bb95a71b 100644
--- a/drivers/crypto/chelsio/chcr_core.h
+++ b/drivers/crypto/chelsio/chcr_core.h
@@ -44,7 +44,6 @@ 
 #include "cxgb4_uld.h"
 
 #define DRV_MODULE_NAME "chcr"
-#define DRV_VERSION "1.0.0.0-ko"
 #define DRV_DESC "Chelsio T6 Crypto Co-processor Driver"
 
 #define MAX_PENDING_REQ_TO_HW 20