]> git.baikalelectronics.ru Git - kernel.git/commit
drm/sun4i: dsi: delete unnecessary IS_ERR() checks
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 28 Apr 2022 12:26:23 +0000 (15:26 +0300)
committerMaxime Ripard <maxime@cerno.tech>
Fri, 29 Apr 2022 14:26:49 +0000 (16:26 +0200)
commit68622b1d5934b4e7ff908daa3523fe3f43fdbcac
treec9ab99da4b0f813990a11757627d03f1989a230f
parentf001c2490cef810a297f3cbf85cbe9877b5d6a80
drm/sun4i: dsi: delete unnecessary IS_ERR() checks

The "dsi->bus_clk" pointer cannot be an error pointer at this point.
The check is confusing and unnecessary.  Delete it.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/YmqH71MtoGn2AXUg@kili
drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c