mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: haver <haver@linux.vnet.ibm.com>
To: Pravin Shedge <pravin.shedge4linux@gmail.com>
Cc: gpiccoli@linux.vnet.ibm.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH 11/45] drivers: misc: remove duplicate includes
Date: Mon, 08 Jan 2018 14:02:04 +0100	[thread overview]
Message-ID: <1219369fe11899a60787d2bf378c2c26@linux.vnet.ibm.com> (raw)
In-Reply-To: <1512579279-5330-1-git-send-email-pravin.shedge4linux@gmail.com>

Hi Pravin,

On 2017-12-06 17:54, Pravin Shedge wrote:
> 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 <pravin.shedge4linux@gmail.com>
> ---
>  drivers/misc/genwqe/card_base.c  | 1 -
>  drivers/misc/genwqe/card_ddcb.c  | 1 -
>  drivers/misc/genwqe/card_utils.c | 2 --
>  3 files changed, 4 deletions(-)
> 
> diff --git a/drivers/misc/genwqe/card_base.c 
> b/drivers/misc/genwqe/card_base.c
> index 4fd21e8..42bad26 100644
> --- a/drivers/misc/genwqe/card_base.c
> +++ b/drivers/misc/genwqe/card_base.c
> @@ -34,7 +34,6 @@
>  #include <linux/wait.h>
>  #include <linux/delay.h>
>  #include <linux/dma-mapping.h>
> -#include <linux/module.h>
>  #include <linux/notifier.h>
>  #include <linux/device.h>
>  #include <linux/log2.h>
> diff --git a/drivers/misc/genwqe/card_ddcb.c 
> b/drivers/misc/genwqe/card_ddcb.c
> index ddfeefe..332a0d1 100644
> --- a/drivers/misc/genwqe/card_ddcb.c
> +++ b/drivers/misc/genwqe/card_ddcb.c
> @@ -34,7 +34,6 @@
>  #include <linux/string.h>
>  #include <linux/dma-mapping.h>
>  #include <linux/delay.h>
> -#include <linux/module.h>
>  #include <linux/interrupt.h>
>  #include <linux/crc-itu-t.h>
> 
> diff --git a/drivers/misc/genwqe/card_utils.c 
> b/drivers/misc/genwqe/card_utils.c
> index 5c0d917..8fec04d 100644
> --- a/drivers/misc/genwqe/card_utils.c
> +++ b/drivers/misc/genwqe/card_utils.c
> @@ -32,11 +32,9 @@
>  #include <linux/iommu.h>
>  #include <linux/delay.h>
>  #include <linux/pci.h>
> -#include <linux/dma-mapping.h>
>  #include <linux/ctype.h>
>  #include <linux/module.h>
>  #include <linux/platform_device.h>
> -#include <linux/delay.h>
>  #include <asm/pgtable.h>
> 
>  #include "genwqe_driver.h"

Looks ok to me. Thanks for the contribution.

Regards

Frank

Acked-by: Frank Haverkamp <haver@linux.vnet.ibm.com>

      parent reply	other threads:[~2018-01-08 13:02 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-06 16:54 Pravin Shedge
2017-12-13 17:32 ` Guilherme G. Piccoli
2018-01-08 13:02 ` haver [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1219369fe11899a60787d2bf378c2c26@linux.vnet.ibm.com \
    --to=haver@linux.vnet.ibm.com \
    --cc=gpiccoli@linux.vnet.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pravin.shedge4linux@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome