Re: [PATCH] scsi/mpt3sas: fix repeated words in comments

From: John Garry
Date: Thu Sep 08 2022 - 11:51:30 EST


On 08/09/2022 14:04, wangjianli wrote:
Delete the redundant word 'to'.

Signed-off-by: wangjianli<wangjianli@xxxxxxxxxx>
---
drivers/scsi/mpt3sas/mpt3sas_base.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/scsi/mpt3sas/mpt3sas_base.h b/drivers/scsi/mpt3sas/mpt3sas_base.h
index 05364aa15ecd..c8443f69d15d 100644
--- a/drivers/scsi/mpt3sas/mpt3sas_base.h
+++ b/drivers/scsi/mpt3sas/mpt3sas_base.h
@@ -836,7 +836,7 @@ struct _enclosure_node {
/**
* enum reset_type - reset state
* @FORCE_BIG_HAMMER: issue diagnostic reset
- * @SOFT_RESET: issue message_unit_reset, if fails to to big hammer

I guess that the original intention was "if fails go to big hammer"

+ * @SOFT_RESET: issue message_unit_reset, if fails to big hammer

This still makes no sense

*/
enum reset_type {
FORCE_BIG_HAMMER,