2017-12-06 17:02:53

by Pravin Shedge

[permalink] [raw]
Subject: [PATCH 16/45] drivers: rpmsg: remove duplicate includes

These duplicate includes have been found with scripts/checkincludes.pl but
they have been removed manually to avoid removing false positives.

Signed-off-by: Pravin Shedge <[email protected]>
---
drivers/rpmsg/qcom_glink_smem.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/rpmsg/qcom_glink_smem.c b/drivers/rpmsg/qcom_glink_smem.c
index 5cdaa5f..057528e 100644
--- a/drivers/rpmsg/qcom_glink_smem.c
+++ b/drivers/rpmsg/qcom_glink_smem.c
@@ -29,8 +29,6 @@
#include <linux/workqueue.h>
#include <linux/list.h>

-#include <linux/delay.h>
-#include <linux/rpmsg.h>
#include <linux/rpmsg/qcom_glink.h>

#include "qcom_glink_native.h"
--
2.7.4


2017-12-06 21:59:45

by Bjorn Andersson

[permalink] [raw]
Subject: Re: [PATCH 16/45] drivers: rpmsg: remove duplicate includes

On Wed 06 Dec 09:02 PST 2017, Pravin Shedge wrote:

> These duplicate includes have been found with scripts/checkincludes.pl but
> they have been removed manually to avoid removing false positives.
>

Applied.

Thanks,
Bjorn

> Signed-off-by: Pravin Shedge <[email protected]>
> ---
> drivers/rpmsg/qcom_glink_smem.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/rpmsg/qcom_glink_smem.c b/drivers/rpmsg/qcom_glink_smem.c
> index 5cdaa5f..057528e 100644
> --- a/drivers/rpmsg/qcom_glink_smem.c
> +++ b/drivers/rpmsg/qcom_glink_smem.c
> @@ -29,8 +29,6 @@
> #include <linux/workqueue.h>
> #include <linux/list.h>
>
> -#include <linux/delay.h>
> -#include <linux/rpmsg.h>
> #include <linux/rpmsg/qcom_glink.h>
>
> #include "qcom_glink_native.h"
> --
> 2.7.4
>