From f0473bfa829e2d60ebdcf53a8fcd5f733067cde6 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 23 Dec 2016 20:14:05 +0000 Subject: [PATCH] mlx(4): remove date from log message Further to r310425, go one step further and just remove the date. Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D8888 --- sys/dev/mlx4/mlx4_core/mlx4.h | 1 - sys/dev/mlx4/mlx4_core/mlx4_main.c | 2 +- sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sys/dev/mlx4/mlx4_core/mlx4.h b/sys/dev/mlx4/mlx4_core/mlx4.h index 73f99f6d26dc..f29175e7c2ca 100644 --- a/sys/dev/mlx4/mlx4_core/mlx4.h +++ b/sys/dev/mlx4/mlx4_core/mlx4.h @@ -52,7 +52,6 @@ #define DRV_NAME "mlx4_core" #define PFX DRV_NAME ": " #define DRV_VERSION "2.1.6" -#define DRV_RELDATE "Sep 30 2016" #define DRV_STACK_NAME "Linux-MLNX_OFED" #define DRV_STACK_VERSION "2.1" diff --git a/sys/dev/mlx4/mlx4_core/mlx4_main.c b/sys/dev/mlx4/mlx4_core/mlx4_main.c index 0754ab3d0e4d..da7de9613c66 100644 --- a/sys/dev/mlx4/mlx4_core/mlx4_main.c +++ b/sys/dev/mlx4/mlx4_core/mlx4_main.c @@ -174,7 +174,7 @@ MODULE_PARM_DESC(enable_64b_cqe_eqe, static char mlx4_version[] __devinitdata = DRV_NAME ": Mellanox ConnectX VPI driver v" - DRV_VERSION " (" DRV_RELDATE ")\n"; + DRV_VERSION "\n"; static int log_num_mac = 7; module_param_named(log_num_mac, log_num_mac, int, 0444); diff --git a/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c b/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c index e511290c2fcd..97dad9e449f6 100644 --- a/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c +++ b/sys/dev/mlx4/mlx4_ib/mlx4_ib_main.c @@ -59,7 +59,6 @@ #define DRV_NAME MLX4_IB_DRV_NAME #define DRV_VERSION "1.0" -#define DRV_RELDATE "Sep 30 2016" #define MLX4_IB_DRIVER_PROC_DIR_NAME "driver/mlx4_ib" #define MLX4_IB_MRS_PROC_DIR_NAME "mrs" @@ -102,7 +101,7 @@ static spinlock_t dev_num_str_lock; static const char mlx4_ib_version[] = DRV_NAME ": Mellanox ConnectX InfiniBand driver v" - DRV_VERSION " (" DRV_RELDATE ")\n"; + DRV_VERSION "\n"; struct update_gid_work { struct work_struct work;