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

From: Karol Herbst
Date: Tue Sep 28 2021 - 06:58:58 EST


Reviewed-by: Karol Herbst <kherbst@xxxxxxxxxx>

and picked

On Mon, Aug 9, 2021 at 12:14 AM <cgel.zte@xxxxxxxxx> wrote:
>
> From: yong yiran <yong.yiran@xxxxxxxxxx>
>
> '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@xxxxxxxxxx>
> Signed-off-by: yong yiran <yong.yiran@xxxxxxxxxx>
> ---
> 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
>