s390/delay: Fix comment typo
PATCH 1/1 s390/delay: Fix comment typo
The double `that' is duplicated in line 19, remove one.
--- arch/s390/lib/delay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
arch/s390/lib/delay.c +1 -1
@@ -16,7 +16,7 @@ void __delay(unsigned long loops)/* * To end the bloody studid and useless discussion about the * BogoMips number I took the liberty to define the __delay -* function in a way that that resulting BogoMips number will +* function in a way that resulting BogoMips number will * yield the megahertz number of the cpu. The important function * is udelay and that is done using the tod clock. -- martin. */
Signature · 1 line
2.35.1
Quoted 12 lines · Jason Wang
The double `that' is duplicated in line 19, remove one.
Signed-off-by Jason Wang <[email protected]>--- arch/s390/lib/delay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)arch/s390/lib/delay.c +0
-0
arch/s390/lib/delay.c void __delay(unsigned long loops) · line 22
Quoted 8 lines
arch/s390/lib/delay.c +1
-1@@ -16,7 +16,7 @@ void __delay(unsigned long loops)/* * To end the bloody studid and useless discussion about the * BogoMips number I took the liberty to define the __delay -* function in a way that that resulting BogoMips number will +* function in a way that resulting BogoMips number will * yield the megahertz number of the cpu. The important function * is udelay and that is done using the tod clock. -- martin. */
Applied, thanks!
Heiko Carstens
maintainerQuoted 8 lines · Alexander Gordeev
Quoted 7 lines · Jason Wang
The double `that' is duplicated in line 19, remove one.
Signed-off-by Jason Wang <[email protected]>--- arch/s390/lib/delay.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 15 lines
arch/s390/lib/delay.c void __delay(unsigned long loops) · line 22
Quoted 13 lines
arch/s390/lib/delay.c +1
-1@@ -16,7 +16,7 @@ void __delay(unsigned long loops)/* * To end the bloody studid and useless discussion about the * BogoMips number I took the liberty to define the __delay -* function in a way that that resulting BogoMips number will +* function in a way that resulting BogoMips number will * yield the megahertz number of the cpu. The important function * is udelay and that is done using the tod clock. -- martin. */ Applied, thanks!
Ahem :) That should have been actually "fixed" to "that the", instead of removing the double "that". And by the way, just two lines above is another obvious typo...
But seriously, the whole comment is entirely outdated and simply wrong. We don't use __delay() to calculate the BogoMips number, nor does the function return a value that correlates with the megahertz number of the cpu nowadays. It just loops a random time (where the cpu is free to detect the pointless loop and optimize it away anyway).
So the right thing to do would be to remove the complete comment, and maybe add a new comment - but please don't apply this patch.