All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] media: s3c-camif: Remove unused including <linux/version.h>
@ 2021-07-27  5:40 Cai Huoqing
  2021-07-27 20:52 ` Randy Dunlap
  0 siblings, 1 reply; 2+ messages in thread
From: Cai Huoqing @ 2021-07-27  5:40 UTC (permalink / raw)
  To: sylvester.nawrocki, mchehab
  Cc: linux-media, linux-samsung-soc, linux-kernel, Cai Huoqing

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(-)

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>
-- 
2.25.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] media: s3c-camif: Remove unused including <linux/version.h>
  2021-07-27  5:40 [PATCH] media: s3c-camif: Remove unused including <linux/version.h> Cai Huoqing
@ 2021-07-27 20:52 ` Randy Dunlap
  0 siblings, 0 replies; 2+ messages in thread
From: Randy Dunlap @ 2021-07-27 20:52 UTC (permalink / raw)
  To: Cai Huoqing, sylvester.nawrocki, mchehab
  Cc: linux-media, linux-samsung-soc, linux-kernel

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>
> 


-- 
~Randy


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-07-27 20:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-07-27  5:40 [PATCH] media: s3c-camif: Remove unused including <linux/version.h> Cai Huoqing
2021-07-27 20:52 ` Randy Dunlap

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.