lkml.org 
[lkml]   [2017]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH 15/45] drivers: pnp: remove duplicate includes
From
Date
On 12/6/2017 6:00 PM, 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>

Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>

Or do you want me to apply this?

> ---
> drivers/pnp/quirks.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/pnp/quirks.c b/drivers/pnp/quirks.c
> index f054cdd..a0f9a91 100644
> --- a/drivers/pnp/quirks.c
> +++ b/drivers/pnp/quirks.c
> @@ -227,8 +227,6 @@ static void quirk_ad1815_mpu_resources(struct pnp_dev *dev)
> dev_info(&dev->dev, "made independent IRQ optional\n");
> }
>
> -#include <linux/pci.h>
> -
> static void quirk_system_pci_resources(struct pnp_dev *dev)
> {
> struct pci_dev *pdev = NULL;


\
 
 \ /
  Last update: 2017-12-08 01:37    [W:0.077 / U:0.032 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site