]> git.baikalelectronics.ru Git - kernel.git/commit
drm/mcde: Do not needlessly logically and with 3
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 22 Nov 2019 07:25:08 +0000 (08:25 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Sun, 24 Nov 2019 17:04:08 +0000 (18:04 +0100)
commita9ff7c3a0853d372a517036412653a9668d1df6d
tree81d3d511a1d1a15d091835759899a5caab150bb5
parent260391bad0f6d18c5db3898be0231e683adbd477
drm/mcde: Do not needlessly logically and with 3

The i index i always 0..3 in these statements so there
is no need to tag "& 3" to clamp it to 3 here. Make
the operator precedence explicit even if it's correct
as it is, the paranthesis creates less cognitive stress
for humans.

Reviewed-by: Stephan Gerhold <stephan@gerhold.net>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20191122072508.25677-1-linus.walleij@linaro.org
drivers/gpu/drm/mcde/mcde_dsi.c