2022-08-04 12:19:27

by Jason Wang

[permalink] [raw]
Subject: [PATCH] [media] gspca: Fix comment typo

The double `the' is duplicated in the comment, remove one.

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



2022-08-04 23:15:29

by Frank Zago

[permalink] [raw]
Subject: Re: [PATCH] [media] gspca: Fix comment typo

On 8/4/22 06:54, Jason Wang wrote:
> The double `the' is duplicated in the comment, remove one.
>
> Signed-off-by: Jason Wang <[email protected]>
> ---
> 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 <[email protected]>