]> 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)
commit1d7330b40188754fb6bcd940bb20f3bb229538ad
treec9ab99da4b0f813990a11757627d03f1989a230f
parent90cf5056caeb83d8166704aa50fa3a90e74445e2
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