Re: (subset) [PATCH] drm/sun4i: dsi: delete unnecessary IS_ERR() checks

2022-04-29 Thread Maxime Ripard
On Thu, 28 Apr 2022 15:26:23 +0300, Dan Carpenter wrote: > The "dsi->bus_clk" pointer cannot be an error pointer at this point. > The check is confusing and unnecessary. Delete it. > > Applied to drm/drm-misc (drm-misc-next). Thanks! Maxime

[PATCH] drm/sun4i: dsi: delete unnecessary IS_ERR() checks

2022-04-28 Thread Dan Carpenter
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 --- drivers/gpu/drm/sun4i/sun6i_mipi_dsi.c | 7 +++ 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/drivers/gpu/drm/sun4i/sun6i_