From affc45906fd3c27594dfa59ec196feb1bb7700b0 Mon Sep 17 00:00:00 2001 From: Jeongtae Park Date: Tue, 3 Jul 2018 18:15:33 +0900 Subject: [PATCH] [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 --- drivers/media/platform/exynos/fimc-is2/fimc-is-resourcemgr.c | 4 ---- 1 file changed, 4 deletions(-) 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); -- 2.20.1