2022-06-29 13:14:48

by Jilin Yuan

[permalink] [raw]
Subject: [PATCH] ethernet/freescale:fix repeated words in comments

Delete the redundant word 'next'.

Signed-off-by: Jilin Yuan <[email protected]>
---
drivers/net/ethernet/freescale/fec_ptp.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/freescale/fec_ptp.c b/drivers/net/ethernet/freescale/fec_ptp.c
index 7d49c28215f3..ba0d8c613ac9 100644
--- a/drivers/net/ethernet/freescale/fec_ptp.c
+++ b/drivers/net/ethernet/freescale/fec_ptp.c
@@ -544,7 +544,7 @@ static irqreturn_t fec_pps_interrupt(int irq, void *dev_id)

val = readl(fep->hwp + FEC_TCSR(channel));
if (val & FEC_T_TF_MASK) {
- /* Write the next next compare(not the next according the spec)
+ /* Write the next compare(not the next according the spec)
* value to the register
*/
writel(fep->next_counter, fep->hwp + FEC_TCCR(channel));
--
2.36.1


2022-07-01 03:41:46

by Jakub Kicinski

[permalink] [raw]
Subject: Re: [PATCH] ethernet/freescale:fix repeated words in comments

On Wed, 29 Jun 2022 20:46:56 +0800 Jilin Yuan wrote:
> - /* Write the next next compare(not the next according the spec)
> + /* Write the next compare(not the next according the spec)

This one may be on purpose, given the clarification in the brackets.