diff mbox series

[-next] PCI: Remove duplicated include in pci.c

Message ID 20231018010551.118071-1-yang.lee@linux.alibaba.com (mailing list archive)
State Accepted
Delegated to: Bjorn Helgaas
Headers show
Series [-next] PCI: Remove duplicated include in pci.c | expand

Commit Message

Yang Li Oct. 18, 2023, 1:05 a.m. UTC
./drivers/pci/pci.c: linux/bitfield.h is included more than once.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6898
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
---
 drivers/pci/pci.c | 1 -
 1 file changed, 1 deletion(-)

Comments

Bjorn Helgaas Oct. 18, 2023, 1:42 a.m. UTC | #1
[+cc Ilpo]

On Wed, Oct 18, 2023 at 09:05:51AM +0800, Yang Li wrote:
> ./drivers/pci/pci.c: linux/bitfield.h is included more than once.
> 
> Reported-by: Abaci Robot <abaci@linux.alibaba.com>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=6898
> Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>

I folded this into the commit that added the duplicate, thanks!

https://lore.kernel.org/r/20230919125648.1920-7-ilpo.jarvinen@linux.intel.com

> ---
>  drivers/pci/pci.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
> index 5b70eefc38fc..92b8dafec0d9 100644
> --- a/drivers/pci/pci.c
> +++ b/drivers/pci/pci.c
> @@ -32,7 +32,6 @@
>  #include <linux/vmalloc.h>
>  #include <asm/dma.h>
>  #include <linux/aer.h>
> -#include <linux/bitfield.h>
>  #include "pci.h"
>  
>  DEFINE_MUTEX(pci_slot_mutex);
> -- 
> 2.20.1.7.g153144c
>
diff mbox series

Patch

diff --git a/drivers/pci/pci.c b/drivers/pci/pci.c
index 5b70eefc38fc..92b8dafec0d9 100644
--- a/drivers/pci/pci.c
+++ b/drivers/pci/pci.c
@@ -32,7 +32,6 @@ 
 #include <linux/vmalloc.h>
 #include <asm/dma.h>
 #include <linux/aer.h>
-#include <linux/bitfield.h>
 #include "pci.h"
 
 DEFINE_MUTEX(pci_slot_mutex);