[PATCH] drivers/scsi: fix repeated words in comments

wangjianli posted 1 patch 3 years, 6 months ago
There is a newer version of this series
drivers/scsi/storvsc_drv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] drivers/scsi: fix repeated words in comments
Posted by wangjianli 3 years, 6 months ago
Delete the redundant word 'to'.

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

diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
index 573f89eade3b..9f7c71a8c80e 100644
--- a/drivers/scsi/storvsc_drv.c
+++ b/drivers/scsi/storvsc_drv.c
@@ -2059,7 +2059,7 @@ static int storvsc_probe(struct hv_device *device,
 err_out2:
 	/*
 	 * Once we have connected with the host, we would need to
-	 * to invoke storvsc_dev_remove() to rollback this state and
+	 * invoke storvsc_dev_remove() to rollback this state and
 	 * this call also frees up the stor_device; hence the jump around
 	 * err_out1 label.
 	 */
-- 
2.36.1
Re: [PATCH] drivers/scsi: fix repeated words in comments
Posted by Wei Liu 3 years, 6 months ago
On Thu, Sep 08, 2022 at 09:07:54PM +0800, wangjianli wrote:
> Delete the redundant word 'to'.
> 
> Signed-off-by: wangjianli <wangjianli@cdjrlc.com>

I changed the commit message a bit and pushed this patch to hyperv-next.
Thanks.

> ---
>  drivers/scsi/storvsc_drv.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/scsi/storvsc_drv.c b/drivers/scsi/storvsc_drv.c
> index 573f89eade3b..9f7c71a8c80e 100644
> --- a/drivers/scsi/storvsc_drv.c
> +++ b/drivers/scsi/storvsc_drv.c
> @@ -2059,7 +2059,7 @@ static int storvsc_probe(struct hv_device *device,
>  err_out2:
>  	/*
>  	 * Once we have connected with the host, we would need to
> -	 * to invoke storvsc_dev_remove() to rollback this state and
> +	 * invoke storvsc_dev_remove() to rollback this state and
>  	 * this call also frees up the stor_device; hence the jump around
>  	 * err_out1 label.
>  	 */
> -- 
> 2.36.1
>