[COMMON] media: scaler: fix prevent issue
authorJanghyuck Kim <janghyuck.kim@samsung.com>
Thu, 23 Nov 2017 08:14:15 +0000 (17:14 +0900)
committerSeungchul Kim <sc377.kim@samsung.com>
Mon, 28 May 2018 05:28:35 +0000 (14:28 +0900)
This patch fixed dead default in switch issue.

CID 197211

Change-Id: I1f3bec73cc6216e749ca603734e25e95752db56d
Signed-off-by: Janghyuck Kim <janghyuck.kim@samsung.com>
drivers/media/platform/exynos/scaler/scaler-core.c

index 8107128f1416f732845b4a314a6088c41b16a778..429fb938ec2ba755d3229df12e7669e9f210814c 100644 (file)
@@ -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 */