2022-05-09 04:47:45

by Jiapeng Chong

[permalink] [raw]
Subject: [PATCH] hte: Remove unused including <linux/version.h>

Eliminate the follow versioncheck warning:

./drivers/hte/hte-tegra194-test.c: 8 linux/version.h not needed.

Reported-by: Abaci Robot <[email protected]>
Signed-off-by: Jiapeng Chong <[email protected]>
---
drivers/hte/hte-tegra194-test.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/hte/hte-tegra194-test.c b/drivers/hte/hte-tegra194-test.c
index bc3ab18dfdc5..6a3e57b57a34 100644
--- a/drivers/hte/hte-tegra194-test.c
+++ b/drivers/hte/hte-tegra194-test.c
@@ -5,7 +5,6 @@
* Author: Dipen Patel <[email protected]>
*/

-#include <linux/version.h>
#include <linux/err.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
--
2.20.1.7.g153144c



2022-05-09 08:21:38

by Dipen Patel

[permalink] [raw]
Subject: Re: [PATCH] hte: Remove unused including <linux/version.h>

Reviewed-by: Dipen Patel

Acked-by: Dipen Patel

On 5/5/22 8:42 PM, Jiapeng Chong wrote:
> Eliminate the follow versioncheck warning:
>
> ./drivers/hte/hte-tegra194-test.c: 8 linux/version.h not needed.
>
> Reported-by: Abaci Robot <[email protected]>
> Signed-off-by: Jiapeng Chong <[email protected]>
> ---
> drivers/hte/hte-tegra194-test.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/hte/hte-tegra194-test.c b/drivers/hte/hte-tegra194-test.c
> index bc3ab18dfdc5..6a3e57b57a34 100644
> --- a/drivers/hte/hte-tegra194-test.c
> +++ b/drivers/hte/hte-tegra194-test.c
> @@ -5,7 +5,6 @@
> * Author: Dipen Patel <[email protected]>
> */
>
> -#include <linux/version.h>
> #include <linux/err.h>
> #include <linux/module.h>
> #include <linux/moduleparam.h>