Skip to contentSkip to conversation

staging: i4l: pcbit: remove duplicated include from capi.c

PATCH In review Wei Yongjun 2 participants 3 messages Oct 18, 2016 Staging

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 staging: i4l: pcbit: remove duplicated include from capi.c

From: Wei Yongjun <[email protected]>

Remove duplicated include.

---
 drivers/staging/i4l/pcbit/capi.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/i4l/pcbit/capi.c +0 -1
index 91f2994..a6c4e00 100644
@@ -27,7 +27,6 @@
  *              encode our number in CallerPN and ConnectedPN
  */
 
-#include <linux/string.h>
 #include <linux/kernel.h>
 
 #include <linux/types.h>
#1 lore raw
Quoted 4 lines · Wei Yongjun

From: Wei Yongjun <[email protected]>

Remove duplicated include.

How did you discover that? Just curious if you used any tooling.

Signature · 3 lines
Mit freundlichen Grüßen

Alexander Alemayhu
#2 lore raw

Hi Alexander,

Quoted 7 lines · Alexander Alemayhu
Quoted 4 lines · Wei Yongjun

From: Wei Yongjun <[email protected]>

Remove duplicated include.

How did you discover that? Just curious if you used any tooling.

I found those using my dpatch tool, which integrated sparse, coccinelle and some scripts. check changed files every day. It is available at:
https://github.com/weiyj/dpatch

Regards,
Yongjun Wei