diff mbox series

[V2,4/4] vDPA/ifcvf: remove the version number string

Message ID 20210308083525.382514-5-lingshan.zhu@intel.com
State Superseded
Headers show
Series vDPA/ifcvf: enables Intel C5000X-PL virtio-net | expand

Commit Message

Zhu Lingshan March 8, 2021, 8:35 a.m. UTC
This commit removes the version number string, using kernel
version is enough.

Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
---
 drivers/vdpa/ifcvf/ifcvf_main.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Leon Romanovsky March 8, 2021, 4:03 p.m. UTC | #1
On Mon, Mar 08, 2021 at 04:35:25PM +0800, Zhu Lingshan wrote:
> This commit removes the version number string, using kernel
> version is enough.
>
> Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>
> ---
>  drivers/vdpa/ifcvf/ifcvf_main.c | 2 --
>  1 file changed, 2 deletions(-)
>

Thanks,
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Jason Wang March 9, 2021, 2:25 a.m. UTC | #2
On 2021/3/8 4:35 下午, Zhu Lingshan wrote:
> This commit removes the version number string, using kernel

> version is enough.

>

> Signed-off-by: Zhu Lingshan <lingshan.zhu@intel.com>

> ---



Acked-by: Jason Wang <jasowang@redhat.com>



>   drivers/vdpa/ifcvf/ifcvf_main.c | 2 --

>   1 file changed, 2 deletions(-)

>

> diff --git a/drivers/vdpa/ifcvf/ifcvf_main.c b/drivers/vdpa/ifcvf/ifcvf_main.c

> index fd5befc5cbcc..c34e1eec6b6c 100644

> --- a/drivers/vdpa/ifcvf/ifcvf_main.c

> +++ b/drivers/vdpa/ifcvf/ifcvf_main.c

> @@ -14,7 +14,6 @@

>   #include <linux/sysfs.h>

>   #include "ifcvf_base.h"

>   

> -#define VERSION_STRING  "0.1"

>   #define DRIVER_AUTHOR   "Intel Corporation"

>   #define IFCVF_DRIVER_NAME       "ifcvf"

>   

> @@ -503,4 +502,3 @@ static struct pci_driver ifcvf_driver = {

>   module_pci_driver(ifcvf_driver);

>   

>   MODULE_LICENSE("GPL v2");

> -MODULE_VERSION(VERSION_STRING);
diff mbox series

Patch

diff --git a/drivers/vdpa/ifcvf/ifcvf_main.c b/drivers/vdpa/ifcvf/ifcvf_main.c
index fd5befc5cbcc..c34e1eec6b6c 100644
--- a/drivers/vdpa/ifcvf/ifcvf_main.c
+++ b/drivers/vdpa/ifcvf/ifcvf_main.c
@@ -14,7 +14,6 @@ 
 #include <linux/sysfs.h>
 #include "ifcvf_base.h"
 
-#define VERSION_STRING  "0.1"
 #define DRIVER_AUTHOR   "Intel Corporation"
 #define IFCVF_DRIVER_NAME       "ifcvf"
 
@@ -503,4 +502,3 @@  static struct pci_driver ifcvf_driver = {
 module_pci_driver(ifcvf_driver);
 
 MODULE_LICENSE("GPL v2");
-MODULE_VERSION(VERSION_STRING);