2016-10-18 14:37:25

by Wei Yongjun

[permalink] [raw]
Subject: [PATCH -next] staging: i4l: pcbit: remove duplicated include from capi.c

From: Wei Yongjun <[email protected]>

Remove duplicated include.

Signed-off-by: Wei Yongjun <[email protected]>
---
drivers/staging/i4l/pcbit/capi.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/staging/i4l/pcbit/capi.c b/drivers/staging/i4l/pcbit/capi.c
index 91f2994..a6c4e00 100644
--- a/drivers/staging/i4l/pcbit/capi.c
+++ b/drivers/staging/i4l/pcbit/capi.c
@@ -27,7 +27,6 @@
* encode our number in CallerPN and ConnectedPN
*/

-#include <linux/string.h>
#include <linux/kernel.h>

#include <linux/types.h>




2016-10-18 15:31:40

by Alexander Alemayhu

[permalink] [raw]
Subject: Re: [PATCH -next] staging: i4l: pcbit: remove duplicated include from capi.c

On Tue, Oct 18, 2016 at 02:37:10PM +0000, Wei Yongjun wrote:
> From: Wei Yongjun <[email protected]>
>
> Remove duplicated include.
>
How did you discover that? Just curious if you used any tooling.

--
Mit freundlichen Gr??en

Alexander Alemayhu

2016-10-18 15:45:36

by Wei Yongjun

[permalink] [raw]
Subject: Re: [PATCH -next] staging: i4l: pcbit: remove duplicated include from capi.c

Hi Alexander,


On 10/18/2016 11:30 PM, Alexander Alemayhu wrote:
> On Tue, Oct 18, 2016 at 02:37:10PM +0000, Wei Yongjun wrote:
>> 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