Skip to contentSkip to conversation

cpupowerutils: Delete repeated word in comments

PATCH In review shaomin Deng 2 participants 2 messages Aug 2, 2022 – Aug 24, 2022 CPU power monitoring

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 cpupowerutils: Delete repeated word in comments

From: Shaomin Deng <[email protected]>

Delete the repeated word "cpu" in comments.

---
 tools/power/cpupower/bench/system.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
tools/power/cpupower/bench/system.c +1 -1
index 40f3679e70b5..eb79dd9ac670 100644
@@ -37,7 +37,7 @@ long long int get_time()
  * sets the cpufreq governor
  *
  * @param governor cpufreq governor name
- * @param cpu cpu for which the governor should be set
+ * @param cpu for which the governor should be set
  *
  * @retval 0 on success
  * @retval -1 when failed
Signature · 1 line
2.25.1
maintainer
#1 lore raw
Quoted 14 lines · shaomin Deng

From: Shaomin Deng <[email protected]>

Delete the repeated word "cpu" in comments.

---
  tools/power/cpupower/bench/system.c | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)
tools/power/cpupower/bench/system.c +0 -0
index 40f3679e70b5..eb79dd9ac670 100644

tools/power/cpupower/bench/system.c long long int get_time() · line 40

Quoted 5 lines
tools/power/cpupower/bench/system.c +1 -1
@@ -37,7 +37,7 @@ long long int get_time()
   * sets the cpufreq governor
   *
   * @param governor cpufreq governor name
- * @param cpu cpu for which the governor should be set
+ * @param cpu for which the governor should be set

This is good as is. The first cpu is associated with param.

thanks,
-- Shuah