Hello.

There are a few to many semicolons in powertop, could the attached patch
please be applied.
>From 68149837c4dae32fbaacf26ee65a606d412c479c Mon Sep 17 00:00:00 2001
From: Magnus Fromreide <[email protected]>
Date: Thu, 28 Apr 2011 11:18:08 +0200
Subject: [PATCH 1/5] Remove extra ;'s


Signed-off-by: Magnus Fromreide <[email protected]>
---
 cpu/cpu.h            |    2 +-
 perf/perf_bundle.cpp |    2 +-
 process/process.h    |   10 +++++-----
 tuning/ethernet.cpp  |    2 +-
 4 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/cpu/cpu.h b/cpu/cpu.h
index 6539af1..8c36720 100644
--- a/cpu/cpu.h
+++ b/cpu/cpu.h
@@ -129,7 +129,7 @@ public:
 	/* Frequency micro accounting methods */
 	virtual void    calculate_freq(uint64_t time);
 	virtual void    go_idle(uint64_t time) { idle = true; if (parent) parent->calculate_freq(time);};
-	virtual void    go_unidle(uint64_t time) { idle = false; if (parent) parent->calculate_freq(time);};;
+	virtual void    go_unidle(uint64_t time) { idle = false; if (parent) parent->calculate_freq(time);};
 	virtual void    change_freq(uint64_t time, int freq) { current_frequency = freq; if (parent) parent->calculate_freq(time);};
 
 	virtual void	change_effective_frequency(uint64_t time, uint64_t freq);
diff --git a/perf/perf_bundle.cpp b/perf/perf_bundle.cpp
index 2276c3a..52024f5 100644
--- a/perf/perf_bundle.cpp
+++ b/perf/perf_bundle.cpp
@@ -165,7 +165,7 @@ struct trace_entry {
 	unsigned char		preempt_count;
 	int			pid;
 	int			lock_depth;
-} __attribute__((packed));;
+} __attribute__((packed));
 
 
 struct perf_sample {
diff --git a/process/process.h b/process/process.h
index 4296f32..a2fefa8 100644
--- a/process/process.h
+++ b/process/process.h
@@ -138,14 +138,14 @@ struct timer_start {
 #endif
 	void		*timer;
 	void		*function;
-} __attribute__((packed));;
+} __attribute__((packed));
 
 struct timer_cancel {
 #ifdef BIT64
 	int padding;
 #endif
 	void		*timer;
-} __attribute__((packed));;
+} __attribute__((packed));
 
 struct timer_expire {
 #ifdef BIT64
@@ -154,7 +154,7 @@ struct timer_expire {
 	void		*timer;
 	unsigned long	now;
 	void		*function;
-} __attribute__((packed));;
+} __attribute__((packed));
 struct hrtimer_expire {
 #ifdef BIT64
 	int padding;
@@ -162,14 +162,14 @@ struct hrtimer_expire {
 	void		*timer;
 	int64_t		now;
 	void		*function;
-} __attribute__((packed));;
+} __attribute__((packed));
 struct workqueue_start {
 #ifdef BIT64
 	int padding;
 #endif
 	void		*work;
 	void		*function;
-} __attribute__((packed));;
+} __attribute__((packed));
 struct workqueue_end {
 #ifdef BIT64
 	int padding;
diff --git a/tuning/ethernet.cpp b/tuning/ethernet.cpp
index 4666ac1..c04b0f7 100644
--- a/tuning/ethernet.cpp
+++ b/tuning/ethernet.cpp
@@ -1,4 +1,4 @@
-;/*
+/*
  * Copyright 2010, Intel Corporation
  *
  * This file is part of PowerTOP
-- 
1.7.4.4

_______________________________________________
Power mailing list
[email protected]
https://bughost.org/mailman/listinfo/power

Reply via email to