mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Gary R Hook <ghook@amd.com>
To: Bjorn Helgaas <helgaas@kernel.org>,
	"Lendacky, Thomas" <Thomas.Lendacky@amd.com>,
	"Hook, Gary" <Gary.Hook@amd.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>,
	"David S . Miller" <davem@davemloft.net>,
	"linux-crypto@vger.kernel.org" <linux-crypto@vger.kernel.org>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	Bjorn Helgaas <bhelgaas@google.com>
Subject: Re: [PATCH 2/2] crypto: ccp - Remove unnecessary linux/pci.h include
Date: Tue, 6 Aug 2019 16:45:19 +0000	[thread overview]
Message-ID: <6c1c492c-3f06-c2ee-78b8-3506250512e7@amd.com> (raw)
In-Reply-To: <20190802232013.15957-3-helgaas@kernel.org>

On 8/2/19 6:20 PM, Bjorn Helgaas wrote:
> From: Bjorn Helgaas <bhelgaas@google.com>
> 
> Remove unused includes of linux/pci.h.
> 
> Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>

Acked-by: Gary R Hook <gary.hook@amd.com>

> ---
>   drivers/crypto/ccp/ccp-crypto.h | 1 -
>   drivers/crypto/ccp/ccp-dev-v3.c | 1 -
>   drivers/crypto/ccp/ccp-dev-v5.c | 1 -
>   drivers/crypto/ccp/ccp-dev.h    | 1 -
>   drivers/crypto/ccp/ccp-ops.c    | 1 -
>   drivers/crypto/ccp/psp-dev.h    | 1 -
>   drivers/crypto/ccp/sp-dev.h     | 1 -
>   7 files changed, 7 deletions(-)
> 
> diff --git a/drivers/crypto/ccp/ccp-crypto.h b/drivers/crypto/ccp/ccp-crypto.h
> index 622b34c17643..903e74e7ad1b 100644
> --- a/drivers/crypto/ccp/ccp-crypto.h
> +++ b/drivers/crypto/ccp/ccp-crypto.h
> @@ -12,7 +12,6 @@
>   
>   #include <linux/list.h>
>   #include <linux/wait.h>
> -#include <linux/pci.h>
>   #include <linux/ccp.h>
>   #include <crypto/algapi.h>
>   #include <crypto/aes.h>
> diff --git a/drivers/crypto/ccp/ccp-dev-v3.c b/drivers/crypto/ccp/ccp-dev-v3.c
> index 2b7d47ed5c74..09924f2c264f 100644
> --- a/drivers/crypto/ccp/ccp-dev-v3.c
> +++ b/drivers/crypto/ccp/ccp-dev-v3.c
> @@ -10,7 +10,6 @@
>   
>   #include <linux/module.h>
>   #include <linux/kernel.h>
> -#include <linux/pci.h>
>   #include <linux/kthread.h>
>   #include <linux/interrupt.h>
>   #include <linux/ccp.h>
> diff --git a/drivers/crypto/ccp/ccp-dev-v5.c b/drivers/crypto/ccp/ccp-dev-v5.c
> index 217e41bbadaf..0b6ef334f9b7 100644
> --- a/drivers/crypto/ccp/ccp-dev-v5.c
> +++ b/drivers/crypto/ccp/ccp-dev-v5.c
> @@ -9,7 +9,6 @@
>   
>   #include <linux/module.h>
>   #include <linux/kernel.h>
> -#include <linux/pci.h>
>   #include <linux/kthread.h>
>   #include <linux/debugfs.h>
>   #include <linux/dma-mapping.h>
> diff --git a/drivers/crypto/ccp/ccp-dev.h b/drivers/crypto/ccp/ccp-dev.h
> index 89aee0900a06..57749c5a5373 100644
> --- a/drivers/crypto/ccp/ccp-dev.h
> +++ b/drivers/crypto/ccp/ccp-dev.h
> @@ -12,7 +12,6 @@
>   #define __CCP_DEV_H__
>   
>   #include <linux/device.h>
> -#include <linux/pci.h>
>   #include <linux/spinlock.h>
>   #include <linux/mutex.h>
>   #include <linux/list.h>
> diff --git a/drivers/crypto/ccp/ccp-ops.c b/drivers/crypto/ccp/ccp-ops.c
> index c69ed4bae2eb..b565c08bbe28 100644
> --- a/drivers/crypto/ccp/ccp-ops.c
> +++ b/drivers/crypto/ccp/ccp-ops.c
> @@ -10,7 +10,6 @@
>   
>   #include <linux/module.h>
>   #include <linux/kernel.h>
> -#include <linux/pci.h>
>   #include <linux/interrupt.h>
>   #include <crypto/scatterwalk.h>
>   #include <crypto/des.h>
> diff --git a/drivers/crypto/ccp/psp-dev.h b/drivers/crypto/ccp/psp-dev.h
> index c5e06c92d40e..82a084f02990 100644
> --- a/drivers/crypto/ccp/psp-dev.h
> +++ b/drivers/crypto/ccp/psp-dev.h
> @@ -11,7 +11,6 @@
>   #define __PSP_DEV_H__
>   
>   #include <linux/device.h>
> -#include <linux/pci.h>
>   #include <linux/spinlock.h>
>   #include <linux/mutex.h>
>   #include <linux/list.h>
> diff --git a/drivers/crypto/ccp/sp-dev.h b/drivers/crypto/ccp/sp-dev.h
> index 8abe9ea7e76f..53c12562d31e 100644
> --- a/drivers/crypto/ccp/sp-dev.h
> +++ b/drivers/crypto/ccp/sp-dev.h
> @@ -13,7 +13,6 @@
>   #define __SP_DEV_H__
>   
>   #include <linux/device.h>
> -#include <linux/pci.h>
>   #include <linux/spinlock.h>
>   #include <linux/mutex.h>
>   #include <linux/list.h>
> 


  reply	other threads:[~2019-08-06 16:45 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-08-02 23:20 [PATCH 0/2] crypto: ccp - Remove unnecessary includes Bjorn Helgaas
2019-08-02 23:20 ` [PATCH 1/2] crypto: ccp - Include DMA declarations explicitly Bjorn Helgaas
2019-08-06 16:44   ` Gary R Hook
2019-08-02 23:20 ` [PATCH 2/2] crypto: ccp - Remove unnecessary linux/pci.h include Bjorn Helgaas
2019-08-06 16:45   ` Gary R Hook [this message]
2019-08-09  6:20 ` [PATCH 0/2] crypto: ccp - Remove unnecessary includes Herbert Xu

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=6c1c492c-3f06-c2ee-78b8-3506250512e7@amd.com \
    --to=ghook@amd.com \
    --cc=Gary.Hook@amd.com \
    --cc=Thomas.Lendacky@amd.com \
    --cc=bhelgaas@google.com \
    --cc=davem@davemloft.net \
    --cc=helgaas@kernel.org \
    --cc=herbert@gondor.apana.org.au \
    --cc=linux-crypto@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    /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

all inboxes | Powered by JetHome®