diff mbox series

scsi: core: Remove the unused include statements

Message ID 1599821932-22682-1-git-send-email-tiantao6@hisilicon.com (mailing list archive)
State New, archived
Headers show
Series scsi: core: Remove the unused include statements | expand

Commit Message

Tian Tao Sept. 11, 2020, 10:58 a.m. UTC
scsi/sg.h is included more than once, Remove the one that isn't
necessary.

Signed-off-by: Tian Tao <tiantao6@hisilicon.com>
---
 block/scsi_ioctl.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Jens Axboe Sept. 11, 2020, 11:24 a.m. UTC | #1
On 9/11/20 4:58 AM, Tian Tao wrote:
> scsi/sg.h is included more than once, Remove the one that isn't
> necessary.

Thanks, applied with a title edit.
diff mbox series

Patch

diff --git a/block/scsi_ioctl.c b/block/scsi_ioctl.c
index ef722f0..4421e61 100644
--- a/block/scsi_ioctl.c
+++ b/block/scsi_ioctl.c
@@ -37,8 +37,6 @@  const unsigned char scsi_command_size_tbl[8] =
 };
 EXPORT_SYMBOL(scsi_command_size_tbl);
 
-#include <scsi/sg.h>
-
 static int sg_get_version(int __user *p)
 {
 	static const int sg_version_num = 30527;