2021-07-27 05:41:22

by Cai,Huoqing

[permalink] [raw]
Subject: [PATCH] [media] c8sectpfe: c8sectpfe-dvb: Remove unused including <linux/version.h>

Remove including <linux/version.h> that don't need it.

Signed-off-by: Cai Huoqing <[email protected]>
---
drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 1 -
drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c | 1 -
2 files changed, 2 deletions(-)

diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
index 338b205ae3a7..02dc78bd7fab 100644
--- a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
+++ b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
@@ -28,7 +28,6 @@
#include <linux/usb.h>
#include <linux/slab.h>
#include <linux/time.h>
-#include <linux/version.h>
#include <linux/wait.h>
#include <linux/pinctrl/pinctrl.h>

diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c
index 0560a9cb004b..feb48cb546d7 100644
--- a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c
+++ b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c
@@ -11,7 +11,6 @@
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/interrupt.h>
-#include <linux/version.h>

#include <dt-bindings/media/c8sectpfe.h>

--
2.25.1


2021-08-02 12:38:43

by Patrice CHOTARD

[permalink] [raw]
Subject: Re: [PATCH] [media] c8sectpfe: c8sectpfe-dvb: Remove unused including <linux/version.h>

Hi

On 7/27/21 7:39 AM, Cai Huoqing wrote:
> Remove including <linux/version.h> that don't need it.
>
> Signed-off-by: Cai Huoqing <[email protected]>
> ---
> drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 1 -
> drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c | 1 -
> 2 files changed, 2 deletions(-)
>
> diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
> index 338b205ae3a7..02dc78bd7fab 100644
> --- a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
> +++ b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c
> @@ -28,7 +28,6 @@
> #include <linux/usb.h>
> #include <linux/slab.h>
> #include <linux/time.h>
> -#include <linux/version.h>
> #include <linux/wait.h>
> #include <linux/pinctrl/pinctrl.h>
>
> diff --git a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c
> index 0560a9cb004b..feb48cb546d7 100644
> --- a/drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c
> +++ b/drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c
> @@ -11,7 +11,6 @@
> #include <linux/delay.h>
> #include <linux/i2c.h>
> #include <linux/interrupt.h>
> -#include <linux/version.h>
>
> #include <dt-bindings/media/c8sectpfe.h>
>
>

Reviewed-by: Patrice Chotard <[email protected]>
Thanks
Patrice