From: Jeongtae Park Date: Tue, 3 Jul 2018 09:15:33 +0000 (+0900) Subject: [COMMON] fimc-is2: remove dead-code at resource_put X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=affc45906fd3c27594dfa59ec196feb1bb7700b0;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] fimc-is2: remove dead-code at resource_put Prevent Defect ID: CID 232651 PR JIRA ID: CPR-32 Change-Id: I09eb8450b415ab6e74a3c4c3195ad71cbc8ae56b Signed-off-by: Jeongtae Park --- diff --git a/drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c b/drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c index 169d785c3955..a222bdd142ab 100644 --- a/drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c +++ b/drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c @@ -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);