|
|
3c6e85 |
From 433d4c88b35c7dd25f7d683eabb7991470ec4ac3 Mon Sep 17 00:00:00 2001
|
|
|
3c6e85 |
From: Himanshu Madhani <hmadhani@redhat.com>
|
|
|
3c6e85 |
Date: Thu, 1 Aug 2019 15:55:25 -0400
|
|
|
3c6e85 |
Subject: [PATCH 065/124] [scsi] scsi: tcm_qla2xxx: Minimize #include
|
|
|
3c6e85 |
directives
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Message-id: <20190801155618.12650-66-hmadhani@redhat.com>
|
|
|
3c6e85 |
Patchwork-id: 267847
|
|
|
3c6e85 |
O-Subject: [RHEL 7.8 e-stor PATCH 065/118] scsi: tcm_qla2xxx: Minimize #include directives
|
|
|
3c6e85 |
Bugzilla: 1729270
|
|
|
3c6e85 |
RH-Acked-by: Jarod Wilson <jarod@redhat.com>
|
|
|
3c6e85 |
RH-Acked-by: Tony Camuso <tcamuso@redhat.com>
|
|
|
3c6e85 |
|
|
|
3c6e85 |
From: Bart Van Assche <bvanassche@acm.org>
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Bugzilla 1729270
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Only include those header files that are needed by the code in this source
|
|
|
3c6e85 |
file.
|
|
|
3c6e85 |
|
|
|
3c6e85 |
[mkp: include build fix from Bart for SPARC]
|
|
|
3c6e85 |
|
|
|
3c6e85 |
Cc: Himanshu Madhani <hmadhani@marvell.com>
|
|
|
3c6e85 |
Cc: Giridhar Malavali <gmalavali@marvell.com>
|
|
|
3c6e85 |
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
|
|
|
3c6e85 |
Acked-by: Himanshu Madhani <hmadhani@marvell.com>
|
|
|
3c6e85 |
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
|
|
|
3c6e85 |
(cherry picked from commit c8538b0b9ed65eb22849217fd397d614a42216e7)
|
|
|
3c6e85 |
Signed-off-by: Himanshu Madhani <hmadhani@redhat.com>
|
|
|
3c6e85 |
Signed-off-by: Jan Stancek <jstancek@redhat.com>
|
|
|
3c6e85 |
---
|
|
|
3c6e85 |
drivers/scsi/qla2xxx/tcm_qla2xxx.c | 6 ------
|
|
|
3c6e85 |
1 file changed, 6 deletions(-)
|
|
|
3c6e85 |
|
|
|
3c6e85 |
diff --git a/drivers/scsi/qla2xxx/tcm_qla2xxx.c b/drivers/scsi/qla2xxx/tcm_qla2xxx.c
|
|
|
3c6e85 |
index 27fbaede49a4..4339cdcc3cb8 100644
|
|
|
3c6e85 |
--- a/drivers/scsi/qla2xxx/tcm_qla2xxx.c
|
|
|
3c6e85 |
+++ b/drivers/scsi/qla2xxx/tcm_qla2xxx.c
|
|
|
3c6e85 |
@@ -27,22 +27,16 @@
|
|
|
3c6e85 |
|
|
|
3c6e85 |
|
|
|
3c6e85 |
#include <linux/module.h>
|
|
|
3c6e85 |
-#include <linux/moduleparam.h>
|
|
|
3c6e85 |
#include <linux/utsname.h>
|
|
|
3c6e85 |
#include <linux/vmalloc.h>
|
|
|
3c6e85 |
-#include <linux/init.h>
|
|
|
3c6e85 |
#include <linux/list.h>
|
|
|
3c6e85 |
#include <linux/slab.h>
|
|
|
3c6e85 |
-#include <linux/kthread.h>
|
|
|
3c6e85 |
#include <linux/types.h>
|
|
|
3c6e85 |
#include <linux/string.h>
|
|
|
3c6e85 |
#include <linux/configfs.h>
|
|
|
3c6e85 |
#include <linux/ctype.h>
|
|
|
3c6e85 |
#include <asm/unaligned.h>
|
|
|
3c6e85 |
-#include <scsi/scsi.h>
|
|
|
3c6e85 |
#include <scsi/scsi_host.h>
|
|
|
3c6e85 |
-#include <scsi/scsi_device.h>
|
|
|
3c6e85 |
-#include <scsi/scsi_cmnd.h>
|
|
|
3c6e85 |
#include <target/target_core_base.h>
|
|
|
3c6e85 |
#include <target/target_core_fabric.h>
|
|
|
3c6e85 |
|
|
|
3c6e85 |
--
|
|
|
3c6e85 |
2.13.6
|
|
|
3c6e85 |
|