Re: [PATCH] accessibility: speakup: remove linux/version.h
From: Samuel Thibault
Date: Fri Mar 03 2023 - 08:23:11 EST
Muhammad Usama Anjum, le ven. 03 mars 2023 17:51:51 +0500, a ecrit:
> make versioncheck reports the following:
> ./drivers/accessibility/speakup/genmap.c: 13 linux/version.h not needed.
> ./drivers/accessibility/speakup/makemapdata.c: 13 linux/version.h not needed.
>
> So remove linux/version.h from both of these files.
>
> Signed-off-by: Muhammad Usama Anjum <usama.anjum@xxxxxxxxxxxxx>
Reviewed-by: Samuel Thibault <samuel.thibault@xxxxxxxxxxxx>
Thanks!
> ---
> drivers/accessibility/speakup/genmap.c | 1 -
> drivers/accessibility/speakup/makemapdata.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/drivers/accessibility/speakup/genmap.c b/drivers/accessibility/speakup/genmap.c
> index 0125000e00d9..0882bab10fb8 100644
> --- a/drivers/accessibility/speakup/genmap.c
> +++ b/drivers/accessibility/speakup/genmap.c
> @@ -10,7 +10,6 @@
> #include <stdio.h>
> #include <libgen.h>
> #include <string.h>
> -#include <linux/version.h>
> #include <ctype.h>
> #include "utils.h"
>
> diff --git a/drivers/accessibility/speakup/makemapdata.c b/drivers/accessibility/speakup/makemapdata.c
> index d7d41bb9b05f..55e4ef8a93dc 100644
> --- a/drivers/accessibility/speakup/makemapdata.c
> +++ b/drivers/accessibility/speakup/makemapdata.c
> @@ -10,7 +10,6 @@
> #include <stdio.h>
> #include <libgen.h>
> #include <string.h>
> -#include <linux/version.h>
> #include <ctype.h>
> #include "utils.h"
>
> --
> 2.39.2
>
--
Samuel
---
Pour une évaluation indépendante, transparente et rigoureuse !
Je soutiens la Commission d'Évaluation de l'Inria.