2022-06-22 14:40:05

by Jiang Jian

[permalink] [raw]
Subject: [PATCH] scsi: megaraid_sas: drop unexpected word 'and' in the comments

there is an unexpected word 'and' in the comments that need to be dropped

file: drivers/scsi/megaraid/megaraid_sas_fusion.c
line: 2551

* megasas_stream_detect - stream detection on read and and write IOs

changed to:

* megasas_stream_detect - stream detection on read and write IOs

Signed-off-by: Jiang Jian <[email protected]>
---
drivers/scsi/megaraid/megaraid_sas_fusion.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/megaraid/megaraid_sas_fusion.c b/drivers/scsi/megaraid/megaraid_sas_fusion.c
index 5b5885d9732b..d74a0e0e6d5d 100644
--- a/drivers/scsi/megaraid/megaraid_sas_fusion.c
+++ b/drivers/scsi/megaraid/megaraid_sas_fusion.c
@@ -2548,7 +2548,7 @@ megasas_set_pd_lba(struct MPI2_RAID_SCSI_IO_REQUEST *io_request, u8 cdb_len,
}

/**
- * megasas_stream_detect - stream detection on read and and write IOs
+ * megasas_stream_detect - stream detection on read and write IOs
* @instance: Adapter soft state
* @cmd: Command to be prepared
* @io_info: IO Request info
--
2.17.1