diff mbox series

scsi/mpt3sas: fix repeated words in comments

Message ID 20220908130420.33130-1-wangjianli@cdjrlc.com (mailing list archive)
State Rejected
Headers show
Series scsi/mpt3sas: fix repeated words in comments | expand

Commit Message

wangjianli Sept. 8, 2022, 1:04 p.m. UTC
Delete the redundant word 'to'.

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

Comments

John Garry Sept. 8, 2022, 3:51 p.m. UTC | #1
On 08/09/2022 14:04, wangjianli wrote:
> Delete the redundant word 'to'.
> 
> Signed-off-by: wangjianli<wangjianli@cdjrlc.com>
> ---
>   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,
diff mbox series

Patch

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
+ * @SOFT_RESET: issue message_unit_reset, if fails to big hammer
  */
 enum reset_type {
 	FORCE_BIG_HAMMER,