diff mbox series

media: s3c-camif: Remove unused including <linux/version.h>

Message ID 20210727054032.760-1-caihuoqing@baidu.com
State New
Headers show
Series media: s3c-camif: Remove unused including <linux/version.h> | expand

Commit Message

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

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
---
 drivers/media/platform/s3c-camif/camif-core.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Randy Dunlap July 27, 2021, 8:52 p.m. UTC | #1
On 7/26/21 10:40 PM, Cai Huoqing wrote:
> Remove including <linux/version.h> that don't need it.
> 
> Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>

as reported by 'make versioncheck':

../drivers/media/platform/s3c-camif/camif-core.c: 26 linux/version.h not needed.

Acked-by: Randy Dunlap <rdunlap@infradead.org>

thanks.

> ---
>  drivers/media/platform/s3c-camif/camif-core.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/media/platform/s3c-camif/camif-core.c b/drivers/media/platform/s3c-camif/camif-core.c
> index e1d51fd3e700..64078cbfd7f9 100644
> --- a/drivers/media/platform/s3c-camif/camif-core.c
> +++ b/drivers/media/platform/s3c-camif/camif-core.c
> @@ -23,7 +23,6 @@
>  #include <linux/pm_runtime.h>
>  #include <linux/slab.h>
>  #include <linux/types.h>
> -#include <linux/version.h>
>  
>  #include <media/media-device.h>
>  #include <media/v4l2-ctrls.h>
>
diff mbox series

Patch

diff --git a/drivers/media/platform/s3c-camif/camif-core.c b/drivers/media/platform/s3c-camif/camif-core.c
index e1d51fd3e700..64078cbfd7f9 100644
--- a/drivers/media/platform/s3c-camif/camif-core.c
+++ b/drivers/media/platform/s3c-camif/camif-core.c
@@ -23,7 +23,6 @@ 
 #include <linux/pm_runtime.h>
 #include <linux/slab.h>
 #include <linux/types.h>
-#include <linux/version.h>
 
 #include <media/media-device.h>
 #include <media/v4l2-ctrls.h>