Patchwork [1/3] cpu: maxfreq: remove unused fwts_cpuinfo typedef

login
register
mail settings
Submitter Colin King
Date April 24, 2013, 9:25 a.m.
Message ID <1366795523-4538-2-git-send-email-colin.king@canonical.com>
Download mbox | patch
Permalink /patch/239093/
State Accepted
Headers show

Comments

Colin King - April 24, 2013, 9:25 a.m.
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(-)
Alex Hung - April 25, 2013, 5:39 a.m.
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>
Keng-Yu Lin - April 26, 2013, 2:44 a.m.
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>

Patch

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;