From: Guennadi Liakhovetski Date: Thu, 29 Sep 2011 10:57:00 +0000 (-0300) Subject: [media] omap3isp: ccdc: remove redundant operation X-Git-Tag: MMI-PSA29.97-13-9~16825^2~767 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=882cc8539ee73e855a149f99e2166766ce5deb35;p=GitHub%2FMotorolaMobilityLLC%2Fkernel-slsi.git [media] omap3isp: ccdc: remove redundant operation Trivial arithmetics clean up. Signed-off-by: Guennadi Liakhovetski Acked-by: Laurent Pinchart Signed-off-by: Mauro Carvalho Chehab --- diff --git a/drivers/media/video/omap3isp/ispccdc.c b/drivers/media/video/omap3isp/ispccdc.c index 6330b1d57b1e..b0b0fa5a3572 100644 --- a/drivers/media/video/omap3isp/ispccdc.c +++ b/drivers/media/video/omap3isp/ispccdc.c @@ -1836,7 +1836,7 @@ ccdc_try_format(struct isp_ccdc_device *ccdc, struct v4l2_subdev_fh *fh, * callers to request an output size bigger than the input size * up to the nearest multiple of 16. */ - fmt->width = clamp_t(u32, width, 32, (fmt->width + 15) & ~15); + fmt->width = clamp_t(u32, width, 32, fmt->width + 15); fmt->width &= ~15; fmt->height = clamp_t(u32, height, 32, fmt->height); break;