From: Bart Van Assche <bvanassche@acm.org>
To: "Martin K . Petersen" <martin.petersen@oracle.com>
Cc: Jaegeuk Kim <jaegeuk@kernel.org>,
linux-scsi@vger.kernel.org, Bart Van Assche <bvanassche@acm.org>,
John Garry <john.garry@huawei.com>,
"James E.J. Bottomley" <jejb@linux.ibm.com>,
Luo Jiaxing <luojiaxing@huawei.com>,
Jason Yan <yanaijie@huawei.com>,
"Gustavo A. R. Silva" <gustavoars@kernel.org>,
Avri Altman <avri.altman@wdc.com>,
Daejun Park <daejun7.park@samsung.com>,
Bean Huo <beanhuo@micron.com>,
Keoseong Park <keosung.park@samsung.com>
Subject: [PATCH 13/13] scsi: Remove superfluous #include <linux/async.h> directives
Date: Tue, 23 Nov 2021 16:52:17 -0800 [thread overview]
Message-ID: <20211124005217.2300458-14-bvanassche@acm.org> (raw)
In-Reply-To: <20211124005217.2300458-1-bvanassche@acm.org>
Remove this include directive from code that does not use any
functionality from kernel/async.c.
Signed-off-by: Bart Van Assche <bvanassche@acm.org>
---
drivers/scsi/hisi_sas/hisi_sas.h | 1 -
drivers/scsi/libsas/sas_discover.c | 1 -
drivers/scsi/scsi.c | 1 -
drivers/scsi/scsi_pm.c | 1 -
drivers/scsi/scsi_priv.h | 1 -
drivers/scsi/sd.c | 1 -
drivers/scsi/ufs/ufshpb.c | 1 -
7 files changed, 7 deletions(-)
diff --git a/drivers/scsi/hisi_sas/hisi_sas.h b/drivers/scsi/hisi_sas/hisi_sas.h
index 2213a91923a5..ed9419643235 100644
--- a/drivers/scsi/hisi_sas/hisi_sas.h
+++ b/drivers/scsi/hisi_sas/hisi_sas.h
@@ -8,7 +8,6 @@
#define _HISI_SAS_H_
#include <linux/acpi.h>
-#include <linux/async.h>
#include <linux/blk-mq.h>
#include <linux/blk-mq-pci.h>
#include <linux/clk.h>
diff --git a/drivers/scsi/libsas/sas_discover.c b/drivers/scsi/libsas/sas_discover.c
index 12e1e36d7c04..758213694091 100644
--- a/drivers/scsi/libsas/sas_discover.c
+++ b/drivers/scsi/libsas/sas_discover.c
@@ -8,7 +8,6 @@
#include <linux/scatterlist.h>
#include <linux/slab.h>
-#include <linux/async.h>
#include <scsi/scsi_host.h>
#include <scsi/scsi_eh.h>
#include "sas_internal.h"
diff --git a/drivers/scsi/scsi.c b/drivers/scsi/scsi.c
index f6af1562cba4..dee4d9c6046d 100644
--- a/drivers/scsi/scsi.c
+++ b/drivers/scsi/scsi.c
@@ -55,7 +55,6 @@
#include <linux/notifier.h>
#include <linux/cpu.h>
#include <linux/mutex.h>
-#include <linux/async.h>
#include <asm/unaligned.h>
#include <scsi/scsi.h>
diff --git a/drivers/scsi/scsi_pm.c b/drivers/scsi/scsi_pm.c
index b5a858c29488..0e841e8761c5 100644
--- a/drivers/scsi/scsi_pm.c
+++ b/drivers/scsi/scsi_pm.c
@@ -8,7 +8,6 @@
#include <linux/pm_runtime.h>
#include <linux/export.h>
-#include <linux/async.h>
#include <linux/blk-pm.h>
#include <scsi/scsi.h>
diff --git a/drivers/scsi/scsi_priv.h b/drivers/scsi/scsi_priv.h
index 0f5743f4769b..5c4786310a31 100644
--- a/drivers/scsi/scsi_priv.h
+++ b/drivers/scsi/scsi_priv.h
@@ -3,7 +3,6 @@
#define _SCSI_PRIV_H
#include <linux/device.h>
-#include <linux/async.h>
#include <scsi/scsi_device.h>
#include <linux/sbitmap.h>
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index 65875a598d62..2a50a840a00c 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -51,7 +51,6 @@
#include <linux/major.h>
#include <linux/mutex.h>
#include <linux/string_helpers.h>
-#include <linux/async.h>
#include <linux/slab.h>
#include <linux/sed-opal.h>
#include <linux/pm_runtime.h>
diff --git a/drivers/scsi/ufs/ufshpb.c b/drivers/scsi/ufs/ufshpb.c
index 2e31e1413826..9778d4fd03cc 100644
--- a/drivers/scsi/ufs/ufshpb.c
+++ b/drivers/scsi/ufs/ufshpb.c
@@ -10,7 +10,6 @@
*/
#include <asm/unaligned.h>
-#include <linux/async.h>
#include "ufshcd.h"
#include "ufshpb.h"
next prev parent reply other threads:[~2021-11-24 0:52 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-11-24 0:52 [PATCH 00/13] A series of small SCSI patches Bart Van Assche
2021-11-24 0:52 ` [PATCH 01/13] scsi: core: Suppress a kernel-doc warning Bart Van Assche
2021-11-24 0:52 ` [PATCH 02/13] scsi: core: Declare 'scsi_scan_type' static Bart Van Assche
2021-11-24 0:52 ` [PATCH 03/13] scsi: core: Show SCMD_LAST in text form Bart Van Assche
2021-11-24 0:52 ` [PATCH 04/13] scsi: a100u2w: Fix a kernel-doc warning Bart Van Assche
2021-11-24 0:52 ` [PATCH 05/13] scsi: ata: Declare 'ata_ncq_sdev_attrs' static Bart Van Assche
2021-11-24 8:54 ` Damien Le Moal
2021-11-29 19:37 ` Bart Van Assche
2021-11-24 0:52 ` [PATCH 06/13] scsi: atp870u: Fix a kernel-doc warning Bart Van Assche
2021-11-24 0:52 ` [PATCH 07/13] scsi: bfa: Declare 'bfad_im_vport_attrs' static Bart Van Assche
2021-11-24 0:52 ` [PATCH 08/13] scsi: dc395x: Fix a kernel-doc warning Bart Van Assche
2021-11-24 0:52 ` [PATCH 09/13] scsi: initio: " Bart Van Assche
2021-11-24 0:52 ` [PATCH 10/13] scsi: megaraid: " Bart Van Assche
2021-11-24 0:52 ` [PATCH 11/13] scsi: pm8001: Fix kernel-doc warnings Bart Van Assche
2021-11-24 6:08 ` Jinpu Wang
2021-11-24 0:52 ` [PATCH 12/13] scsi: pmcraid: Fix a kernel-doc warning Bart Van Assche
2021-11-24 0:52 ` Bart Van Assche [this message]
2021-11-24 1:54 ` [PATCH 13/13] scsi: Remove superfluous #include <linux/async.h> directives Daejun Park
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=20211124005217.2300458-14-bvanassche@acm.org \
--to=bvanassche@acm.org \
--cc=avri.altman@wdc.com \
--cc=beanhuo@micron.com \
--cc=daejun7.park@samsung.com \
--cc=gustavoars@kernel.org \
--cc=jaegeuk@kernel.org \
--cc=jejb@linux.ibm.com \
--cc=john.garry@huawei.com \
--cc=keosung.park@samsung.com \
--cc=linux-scsi@vger.kernel.org \
--cc=luojiaxing@huawei.com \
--cc=martin.petersen@oracle.com \
--cc=yanaijie@huawei.com \
/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