[PATCH] drm/bridge: dw-mipi-dsi.c: remove unused header file

Yannick FERTRE yannick.fertre at st.com
Wed Jun 24 15:08:22 UTC 2020


Hello Angelo,
thank for patch.

Reviewed-by: Yannick Fertre <yannick.fertre at st.com>



On 4/3/20 3:30 PM, Angelo Ribeiro wrote:
> dw-mipi-dsi does not use any definition from drm_probe_helper.
> 
> Coverity output:
> Event unnecessary_header:
> Including .../include/drm/drm_probe_helper.h does not provide any
> needed symbols.
> 
> Cc: Gustavo Pimentel <gustavo.pimentel at synopsys.com>
> Cc: Joao Pinto <jpinto at synopsys.com>
> Cc: Jose Abreu <jose.abreu at synopsys.com>
> Signed-off-by: Angelo Ribeiro <angelo.ribeiro at synopsys.com>
> ---
>   drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c | 1 -
>   1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
> index 024acad..582635d 100644
> --- a/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
> +++ b/drivers/gpu/drm/bridge/synopsys/dw-mipi-dsi.c
> @@ -27,7 +27,6 @@
>   #include <drm/drm_modes.h>
>   #include <drm/drm_of.h>
>   #include <drm/drm_print.h>
> -#include <drm/drm_probe_helper.h>
>   
>   #define HWVER_131			0x31333100	/* IP version 1.31 */
>   
> 


More information about the dri-devel mailing list