From 44f7e67c6547fece34c9891acb2e9871852b7828 Mon Sep 17 00:00:00 2001 From: Atiya Kailany Date: Mon, 31 Jul 2023 18:01:04 -0700 Subject: [PATCH] msm: camera: isp: removing dead code This change removes an unused variable and its declaration. CRs-Fixed: 3394193 Change-Id: I45561570fd501ba0314e5b43dfe4a6f138fe641f Signed-off-by: Atiya Kailany --- drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c b/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c index 21f370df65..c604ca6c23 100644 --- a/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c +++ b/drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c @@ -11464,7 +11464,6 @@ static int cam_csid_packet_generic_blob_handler(void *user_data, break; case CAM_ISP_GENERIC_BLOB_TYPE_IRQ_COMP_CFG: { struct cam_isp_irq_comp_cfg *irq_comp_cfg; - struct cam_isp_prepare_hw_update_data *prepare_hw_data; if (blob_size < sizeof(struct cam_isp_irq_comp_cfg)) { CAM_ERR(CAM_ISP, @@ -11473,8 +11472,6 @@ static int cam_csid_packet_generic_blob_handler(void *user_data, return -EINVAL; } - prepare_hw_data = (struct cam_isp_prepare_hw_update_data *) - prepare->priv; irq_comp_cfg = (struct cam_isp_irq_comp_cfg *)blob_data; rc = cam_isp_blob_csid_irq_comp_cfg(ife_mgr_ctx, prepare, blob_info, irq_comp_cfg, blob_type);