[PATCH] [media] gspca: Fix comment typo

Jason Wang posted 1 patch 3 years, 8 months ago
drivers/media/usb/gspca/finepix.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] [media] gspca: Fix comment typo
Posted by Jason Wang 3 years, 8 months ago
The double `the' is duplicated in the comment, remove one.

Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
---
 drivers/media/usb/gspca/finepix.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/media/usb/gspca/finepix.c b/drivers/media/usb/gspca/finepix.c
index 66c8e5122a0a..bc6133b525e3 100644
--- a/drivers/media/usb/gspca/finepix.c
+++ b/drivers/media/usb/gspca/finepix.c
@@ -129,7 +129,7 @@ static void dostream(struct work_struct *work)
 				 * for, then it's the end of the
 				 * frame. Sometimes the jpeg is not complete,
 				 * but there's nothing we can do. We also end
-				 * here if the the jpeg ends right at the end
+				 * here if the jpeg ends right at the end
 				 * of the frame. */
 				gspca_frame_add(gspca_dev, LAST_PACKET,
 						data, len);
-- 
2.35.1
Re: [PATCH] [media] gspca: Fix comment typo
Posted by Frank Zago 3 years, 8 months ago
On 8/4/22 06:54, Jason Wang wrote:
> The double `the' is duplicated in the comment, remove one.
> 
> Signed-off-by: Jason Wang <wangborong@cdjrlc.com>
> ---
>  drivers/media/usb/gspca/finepix.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/media/usb/gspca/finepix.c b/drivers/media/usb/gspca/finepix.c
> index 66c8e5122a0a..bc6133b525e3 100644
> --- a/drivers/media/usb/gspca/finepix.c
> +++ b/drivers/media/usb/gspca/finepix.c
> @@ -129,7 +129,7 @@ static void dostream(struct work_struct *work)
>  				 * for, then it's the end of the
>  				 * frame. Sometimes the jpeg is not complete,
>  				 * but there's nothing we can do. We also end
> -				 * here if the the jpeg ends right at the end
> +				 * here if the jpeg ends right at the end
>  				 * of the frame. */
>  				gspca_frame_add(gspca_dev, LAST_PACKET,
>  						data, len);

Thanks.

Acked-by: frank zago <frank@zago.net>