ソースを参照

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 <[email protected]>
Atiya Kailany 1 年間 前
コミット
44f7e67c65
1 ファイル変更0 行追加3 行削除
  1. 0 3
      drivers/cam_isp/isp_hw_mgr/cam_ife_hw_mgr.c

+ 0 - 3
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);