[COMMON] fimc-is2: remove dead-code at resource_put
authorJeongtae Park <jtp.park@samsung.com>
Tue, 3 Jul 2018 09:15:33 +0000 (18:15 +0900)
committerSunyoung Kang <sy0816.kang@samsung.com>
Mon, 23 Jul 2018 08:05:46 +0000 (17:05 +0900)
Prevent Defect ID: CID 232651
PR JIRA ID: CPR-32

Change-Id: I09eb8450b415ab6e74a3c4c3195ad71cbc8ae56b
Signed-off-by: Jeongtae Park <jtp.park@samsung.com>
drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c

index 169d785c395555ca12844c92761684d3003dc196..a222bdd142abd717a38097dc87faa2f220c0daf3 100644 (file)
@@ -1629,10 +1629,6 @@ int fimc_is_resource_put(struct fimc_is_resourcemgr *resourcemgr, u32 rsc_type)
                        bts_update_scen(BS_FHD_480_ENCODING, 0);
 #endif
                        break;
-               default:
-                       err("[RSC] resource type(%d) is invalid", rsc_type);
-                       BUG();
-                       break;
                }
 
                fimc_is_vender_resource_put(&core->vender);