[Nouveau] [PATCH linux-next] drm/nouveau/nvenc: remove duplicate include in base.c

Karol Herbst kherbst at redhat.com
Tue Sep 28 10:58:41 UTC 2021


Reviewed-by: Karol Herbst <kherbst at redhat.com>

and picked

On Mon, Aug 9, 2021 at 12:14 AM <cgel.zte at gmail.com> wrote:
>
> From: yong yiran <yong.yiran at zte.com.cn>
>
> 'priv.h' included in 'base.c' is duplicated.
> Remove all but the first include of priv.h from base.c.
>
> Reported-by: Zeal Robot <zealci at zte.com.cn>
> Signed-off-by: yong yiran <yong.yiran at zte.com.cn>
> ---
>  drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
> index c39e797dc7c9..cf5dcfda7b25 100644
> --- a/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
> +++ b/drivers/gpu/drm/nouveau/nvkm/engine/nvenc/base.c
> @@ -21,7 +21,6 @@
>   */
>  #include "priv.h"
>
> -#include "priv.h"
>  #include <core/firmware.h>
>
>  static void *
> --
> 2.25.1
>



More information about the Nouveau mailing list