mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH] media: test-drivers: Remove duplicate include of string.h
@ 2021-03-23  1:47 Wan Jiabing
  2021-03-23  2:26 ` Daniel Almeida
  0 siblings, 1 reply; 2+ messages in thread
From: Wan Jiabing @ 2021-03-23  1:47 UTC (permalink / raw)
  To: Daniel W. S. Almeida, Mauro Carvalho Chehab, linux-media, linux-kernel
  Cc: kael_w, Wan Jiabing

linux/string.h has been included at line 21, so remove the 
duplicate one at line 22.

Signed-off-by: Wan Jiabing <wanjiabing@vivo.com>
---
 drivers/media/test-drivers/vidtv/vidtv_psi.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/media/test-drivers/vidtv/vidtv_psi.c b/drivers/media/test-drivers/vidtv/vidtv_psi.c
index 47ed7907db8d..c11ac8dca73d 100644
--- a/drivers/media/test-drivers/vidtv/vidtv_psi.c
+++ b/drivers/media/test-drivers/vidtv/vidtv_psi.c
@@ -19,7 +19,6 @@
 #include <linux/ratelimit.h>
 #include <linux/slab.h>
 #include <linux/string.h>
-#include <linux/string.h>
 #include <linux/time.h>
 #include <linux/types.h>
 
-- 
2.25.1


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

* Re: [PATCH] media: test-drivers: Remove duplicate include of string.h
  2021-03-23  1:47 [PATCH] media: test-drivers: Remove duplicate include of string.h Wan Jiabing
@ 2021-03-23  2:26 ` Daniel Almeida
  0 siblings, 0 replies; 2+ messages in thread
From: Daniel Almeida @ 2021-03-23  2:26 UTC (permalink / raw)
  To: Wan Jiabing, Mauro Carvalho Chehab, linux-media, linux-kernel; +Cc: kael_w

Hi Wan, thanks for the patch!

Unfortunately, however, a similar patch has already been accepted [1]


[1] 
https://patchwork.linuxtv.org/project/linux-media/patch/20210306113255.217387-1-zhang.yunkai@zte.com.cn/

-- thanks
-- Daniel

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

end of thread, other threads:[~2021-03-23  2:27 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-03-23  1:47 [PATCH] media: test-drivers: Remove duplicate include of string.h Wan Jiabing
2021-03-23  2:26 ` Daniel Almeida

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®