Message ID | 1366795523-4538-2-git-send-email-colin.king@canonical.com |
---|---|
State | Accepted |
Headers | show |
On 04/24/2013 05:25 PM, Colin King wrote: > From: Colin Ian King <colin.king@canonical.com> > > The fwts_cpuinfo typedef is no longer used in this test, so remove it. > > Signed-off-by: Colin Ian King <colin.king@canonical.com> > --- > src/cpu/maxfreq/maxfreq.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/src/cpu/maxfreq/maxfreq.c b/src/cpu/maxfreq/maxfreq.c > index 86aad42..a91ec30 100644 > --- a/src/cpu/maxfreq/maxfreq.c > +++ b/src/cpu/maxfreq/maxfreq.c > @@ -28,11 +28,6 @@ > #define CPU_FREQ_PATH "/sys/devices/system/cpu" > #define CPU_INFO_PATH "/proc/cpuinfo" > > -typedef struct { > - int cpu; > - int speed; > -} fwts_cpuinfo; > - > static int maxfreq_max(const char *str) > { > int max = -1; > Acked-by: Alex Hung <alex.hung@canonical.com>
On Wed, Apr 24, 2013 at 5:25 PM, Colin King <colin.king@canonical.com> wrote: > From: Colin Ian King <colin.king@canonical.com> > > The fwts_cpuinfo typedef is no longer used in this test, so remove it. > > Signed-off-by: Colin Ian King <colin.king@canonical.com> > --- > src/cpu/maxfreq/maxfreq.c | 5 ----- > 1 file changed, 5 deletions(-) > > diff --git a/src/cpu/maxfreq/maxfreq.c b/src/cpu/maxfreq/maxfreq.c > index 86aad42..a91ec30 100644 > --- a/src/cpu/maxfreq/maxfreq.c > +++ b/src/cpu/maxfreq/maxfreq.c > @@ -28,11 +28,6 @@ > #define CPU_FREQ_PATH "/sys/devices/system/cpu" > #define CPU_INFO_PATH "/proc/cpuinfo" > > -typedef struct { > - int cpu; > - int speed; > -} fwts_cpuinfo; > - > static int maxfreq_max(const char *str) > { > int max = -1; > -- > 1.8.1.2 > Acked-by: Keng-Yu Lin <kengyu@canonical.com>
diff --git a/src/cpu/maxfreq/maxfreq.c b/src/cpu/maxfreq/maxfreq.c index 86aad42..a91ec30 100644 --- a/src/cpu/maxfreq/maxfreq.c +++ b/src/cpu/maxfreq/maxfreq.c @@ -28,11 +28,6 @@ #define CPU_FREQ_PATH "/sys/devices/system/cpu" #define CPU_INFO_PATH "/proc/cpuinfo" -typedef struct { - int cpu; - int speed; -} fwts_cpuinfo; - static int maxfreq_max(const char *str) { int max = -1;