From 9a5ed9ee1e654d5540cc6bd51813adf68d81e6e4 Mon Sep 17 00:00:00 2001 From: Janghyuck Kim Date: Thu, 23 Nov 2017 17:14:15 +0900 Subject: [PATCH] [COMMON] media: scaler: fix prevent issue This patch fixed dead default in switch issue. CID 197211 Change-Id: I1f3bec73cc6216e749ca603734e25e95752db56d Signed-off-by: Janghyuck Kim --- drivers/media/platform/exynos/scaler/scaler-core.c | 2 -- 1 file changed, 2 deletions(-) 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 */ -- 2.20.1