mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-28 11:18:45 +07:00
staging: media: zoran: remove unnecessary parentheses
Remove unnecessary parentheses from right hand side of assignments. Suggested by Coccinelle. Signed-off-by: Himadri Pandya <himadri18.07@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
81c2317cb9
commit
1d78178410
@ -496,7 +496,7 @@ zr36057_overlay (struct zoran *zr,
|
||||
KERN_ERR
|
||||
"%s: zr36057_overlay() - video_stride not aligned\n",
|
||||
ZR_DEVNAME(zr));
|
||||
reg = (reg << ZR36057_VSSFGR_DispStride);
|
||||
reg = reg << ZR36057_VSSFGR_DispStride;
|
||||
reg |= ZR36057_VSSFGR_VidOvf; /* clear overflow status */
|
||||
btwrite(reg, ZR36057_VSSFGR);
|
||||
|
||||
@ -1421,7 +1421,7 @@ zoran_irq (int irq,
|
||||
reg = 0;
|
||||
if (zr->v4l_settings.height > BUZ_MAX_HEIGHT / 2)
|
||||
reg += zr->v4l_settings.bytesperline;
|
||||
reg = (reg << ZR36057_VSSFGR_DispStride);
|
||||
reg = reg << ZR36057_VSSFGR_DispStride;
|
||||
reg |= ZR36057_VSSFGR_VidOvf;
|
||||
reg |= ZR36057_VSSFGR_SnapShot;
|
||||
reg |= ZR36057_VSSFGR_FrameGrab;
|
||||
|
Loading…
Reference in New Issue
Block a user