]> git.baikalelectronics.ru Git - kernel.git/commit
drm/imx/dcss: fix coccinelle warning
authorLaurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Thu, 5 Nov 2020 14:01:26 +0000 (16:01 +0200)
committerLucas Stach <l.stach@pengutronix.de>
Thu, 26 Nov 2020 10:29:40 +0000 (11:29 +0100)
commit1cec1e2e3e9af95237eba1baedf17a673e318e6c
tree7a441046d27eb3ce68d4053482fd9b56f3b575fa
parentfd29ef98794e4d16974308bf9ebbeafc7076c931
drm/imx/dcss: fix coccinelle warning

This small patch fixes a warning that I got while running coccinelle:

  CHECK   drivers/gpu/drm/imx/dcss/dcss-plane.c
  drivers/gpu/drm/imx/dcss/dcss-plane.c:107:21-23: WARNING !A || A && B is equivalent to !A || B

Fixes: a9d62bd23a6f ("drm/imx: Add initial support for DCSS on iMX8MQ")
Signed-off-by: Laurentiu Palcu <laurentiu.palcu@oss.nxp.com>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Link: https://patchwork.freedesktop.org/patch/msgid/20201105140127.25249-3-laurentiu.palcu@oss.nxp.com
drivers/gpu/drm/imx/dcss/dcss-plane.c