diff mbox series

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

Message ID 20210727053903.711-1-caihuoqing@baidu.com
State Accepted
Commit 7efc14b8658a512bb2d90e9e64362e55625eb705
Headers show
Series [media] c8sectpfe: c8sectpfe-dvb: Remove unused including <linux/version.h> | expand

Commit Message

Cai,Huoqing July 27, 2021, 5:39 a.m. UTC
Remove including <linux/version.h> that don't need it.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
 drivers/media/platform/sti/c8sectpfe/c8sectpfe-core.c | 1 -
 drivers/media/platform/sti/c8sectpfe/c8sectpfe-dvb.c  | 1 -
 2 files changed, 2 deletions(-)

Comments

Patrice CHOTARD Aug. 2, 2021, 12:35 p.m. UTC | #1
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 <caihuoqing@baidu.com>

> ---

>  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 <patrice.chotard@foss.st.com>

Thanks
Patrice
diff mbox series

Patch

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>