[COMMON] fimc-is2: fix a build error
authorWooyeon Kim <wooy88.kim@samsung.com>
Mon, 13 Aug 2018 00:46:07 +0000 (09:46 +0900)
committerCosmin Tanislav <demonsingur@gmail.com>
Mon, 22 Apr 2024 17:22:57 +0000 (20:22 +0300)
 PR JIRA ID: CPR-153

Change-Id: I131e32750c14f1d5f9dad8708ca7743d9a9d8261
Signed-off-by: Wooyeon Kim <wooy88.kim@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-groupmgr.c
drivers/media/platform/exynos/fimc-is2/hardware/fimc-is-hw-control.c

index ac0d5747a2ceb25814b35aac1e61e045992b6ad2..bfb933b17fedfbc0ca8a68e524770eb5b4832cf7 100644 (file)
@@ -2453,9 +2453,6 @@ int fimc_is_group_buffer_queue(struct fimc_is_groupmgr *groupmgr,
        struct fimc_is_device_sensor_peri *sensor_peri = NULL;
        cis_shared_data *cis_data = NULL;
 #endif
-       u32 orientation;
-       enum mcsc_port backup_mcsc_blk_port[INTERFACE_TYPE_MAX];
-       int i = 0;
 
        FIMC_BUG(!groupmgr);
        FIMC_BUG(!group);
index fc95e7a52f739cd4615c7b04eb4734a8f9cf429c..a40946c1ee71c6896a25f5e46a024a547b6d080c 100644 (file)
@@ -514,8 +514,6 @@ static inline void fimc_is_hardware_fill_frame_info(u32 instance,
        struct fimc_is_frame *hw_frame,
        struct fimc_is_frame *frame)
 {
-       int i;
-
        hw_frame->groupmgr      = frame->groupmgr;
        hw_frame->group         = frame->group;
        hw_frame->shot          = frame->shot;