2022-09-08 13:27:24

by wangjianli

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

Delete the redundant word 'to'.

Signed-off-by: wangjianli <[email protected]>
---
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


2022-09-23 11:22:32

by Wei Liu

[permalink] [raw]
Subject: Re: [PATCH] drivers/scsi: fix repeated words in comments

On Thu, Sep 08, 2022 at 09:07:54PM +0800, wangjianli wrote:
> Delete the redundant word 'to'.
>
> Signed-off-by: wangjianli <[email protected]>

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
>