mirror of
https://github.com/followmsi/android_kernel_google_msm.git
synced 2024-11-06 23:17:41 +00:00
[media] omap3isp: ccdc: remove redundant operation
Trivial arithmetics clean up. Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de> Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:
parent
9b6390bd95
commit
882cc8539e
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue