[03/10] scsi: lpfc: Remove linux/msi.h include

Message ID 20221113202428.436270297@linutronix.de
State New
Headers
Series genirq/msi: Treewide cleanup of pointless linux/msi.h includes |

Commit Message

Thomas Gleixner Nov. 13, 2022, 8:33 p.m. UTC
  Nothing in this file needs anything from linux/msi.h

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: James Smart <james.smart@broadcom.com>
Cc: Dick Kennedy <dick.kennedy@broadcom.com>
Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
Cc: linux-scsi@vger.kernel.org
---
 drivers/scsi/lpfc/lpfc_init.c |    1 -
 1 file changed, 1 deletion(-)
  

Comments

James Smart Nov. 14, 2022, 5:39 a.m. UTC | #1
On 11/13/2022 12:33 PM, Thomas Gleixner wrote:
> Nothing in this file needs anything from linux/msi.h
> 
> Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
> Cc: James Smart <james.smart@broadcom.com>
> Cc: Dick Kennedy <dick.kennedy@broadcom.com>
> Cc: "James E.J. Bottomley" <jejb@linux.ibm.com>
> Cc: "Martin K. Petersen" <martin.petersen@oracle.com>
> Cc: linux-scsi@vger.kernel.org
> ---
>   drivers/scsi/lpfc/lpfc_init.c |    1 -
>   1 file changed, 1 deletion(-)
> 
> --- a/drivers/scsi/lpfc/lpfc_init.c
> +++ b/drivers/scsi/lpfc/lpfc_init.c
> @@ -36,7 +36,6 @@
>   #include <linux/firmware.h>
>   #include <linux/miscdevice.h>
>   #include <linux/percpu.h>
> -#include <linux/msi.h>
>   #include <linux/irq.h>
>   #include <linux/bitops.h>
>   #include <linux/crash_dump.h>
> 

yep - agree.

Reviewed-by: James Smart <jsmart2021@gmail.com>

-- james
  
Martin K. Petersen Nov. 17, 2022, 6:20 p.m. UTC | #2
Thomas,

> Nothing in this file needs anything from linux/msi.h

Applied to 6.2/scsi-staging, thanks!
  

Patch

--- a/drivers/scsi/lpfc/lpfc_init.c
+++ b/drivers/scsi/lpfc/lpfc_init.c
@@ -36,7 +36,6 @@ 
 #include <linux/firmware.h>
 #include <linux/miscdevice.h>
 #include <linux/percpu.h>
-#include <linux/msi.h>
 #include <linux/irq.h>
 #include <linux/bitops.h>
 #include <linux/crash_dump.h>