From bed4f1c3055a57aff0a8ff1f5fe32961009e5499 Mon Sep 17 00:00:00 2001 From: Xilin Wu Date: Wed, 20 Mar 2024 23:14:12 +0800 Subject: [PATCH] iris: Remove video_generated_h Signed-off-by: Xilin Wu --- drivers/media/platform/qcom/iris/Makefile | 9 --------- .../platform/qcom/iris/vidc/inc/msm_vidc_internal.h | 3 --- drivers/media/platform/qcom/iris/vidc/src/msm_vidc.c | 2 -- 3 files changed, 14 deletions(-) diff --git a/drivers/media/platform/qcom/iris/Makefile b/drivers/media/platform/qcom/iris/Makefile index e681c4fba670..f3c22a44ae49 100644 --- a/drivers/media/platform/qcom/iris/Makefile +++ b/drivers/media/platform/qcom/iris/Makefile @@ -1,14 +1,5 @@ KBUILD_OPTIONS+= VIDEO_ROOT=$(KERNEL_SRC)/$(M) -VIDEO_COMPILE_TIME = $(shell date) -VIDEO_COMPILE_BY = $(shell whoami | sed 's/\\/\\\\/') -VIDEO_COMPILE_HOST = $(shell uname -n) -VIDEO_GEN_PATH = $(srctree)/$(src)/vidc/inc/video_generated_h - -$(shell echo '#define VIDEO_COMPILE_TIME "$(VIDEO_COMPILE_TIME)"' > $(VIDEO_GEN_PATH)) -$(shell echo '#define VIDEO_COMPILE_BY "$(VIDEO_COMPILE_BY)"' >> $(VIDEO_GEN_PATH)) -$(shell echo '#define VIDEO_COMPILE_HOST "$(VIDEO_COMPILE_HOST)"' >> $(VIDEO_GEN_PATH)) - iris-objs += vidc/src/msm_vidc_v4l2.o \ vidc/src/msm_vidc_vb2.o \ vidc/src/msm_vidc.o \ diff --git a/drivers/media/platform/qcom/iris/vidc/inc/msm_vidc_internal.h b/drivers/media/platform/qcom/iris/vidc/inc/msm_vidc_internal.h index 4d548344d51f..7509785725e1 100644 --- a/drivers/media/platform/qcom/iris/vidc/inc/msm_vidc_internal.h +++ b/drivers/media/platform/qcom/iris/vidc/inc/msm_vidc_internal.h @@ -24,9 +24,6 @@ struct msm_vidc_core; struct msm_vidc_inst; -static const char video_banner[] = "Video-Banner: (" __stringify(VIDEO_COMPILE_BY) "@" - __stringify(VIDEO_COMPILE_HOST) ") (" __stringify(VIDEO_COMPILE_TIME) ")"; - #define MAX_NAME_LENGTH 128 #define VENUS_VERSION_LENGTH 128 #define MAX_MATRIX_COEFFS 9 diff --git a/drivers/media/platform/qcom/iris/vidc/src/msm_vidc.c b/drivers/media/platform/qcom/iris/vidc/src/msm_vidc.c index c9848c7a7766..32b11fa5d337 100644 --- a/drivers/media/platform/qcom/iris/vidc/src/msm_vidc.c +++ b/drivers/media/platform/qcom/iris/vidc/src/msm_vidc.c @@ -669,8 +669,6 @@ void *msm_vidc_open(struct msm_vidc_core *core, u32 session_type) struct msm_vidc_inst *inst = NULL; int i = 0; - d_vpr_h("%s: %s\n", __func__, video_banner); - if (session_type != MSM_VIDC_DECODER && session_type != MSM_VIDC_ENCODER) { d_vpr_e("%s: invalid session_type %d\n",