From: Janghyuck Kim Date: Thu, 23 Nov 2017 08:14:15 +0000 (+0900) Subject: [COMMON] media: scaler: fix prevent issue X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=9a5ed9ee1e654d5540cc6bd51813adf68d81e6e4;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git [COMMON] media: scaler: fix prevent issue This patch fixed dead default in switch issue. CID 197211 Change-Id: I1f3bec73cc6216e749ca603734e25e95752db56d Signed-off-by: Janghyuck Kim --- diff --git a/drivers/media/platform/exynos/scaler/scaler-core.c b/drivers/media/platform/exynos/scaler/scaler-core.c index 8107128f1416..429fb938ec2b 100644 --- a/drivers/media/platform/exynos/scaler/scaler-core.c +++ b/drivers/media/platform/exynos/scaler/scaler-core.c @@ -780,8 +780,6 @@ int sc_calc_s10b_planesize(u32 pixelformat, u32 width, u32 height, *ysize += NV16M_Y_2B_SIZE(width, height); *csize += NV16M_CBCR_2B_SIZE(width, height); break; - default: - break; } /* Do not consider extra size for 2bit CbCr */