[PATCH 1/3] cpu: maxfreq: remove unused fwts_cpuinfo typedef
Keng-Yu Lin
kengyu at canonical.com
Fri Apr 26 02:44:21 UTC 2013
On Wed, Apr 24, 2013 at 5:25 PM, Colin King <colin.king at canonical.com> wrote:
> From: Colin Ian King <colin.king at canonical.com>
>
> The fwts_cpuinfo typedef is no longer used in this test, so remove it.
>
> Signed-off-by: Colin Ian King <colin.king at 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 at canonical.com>
More information about the fwts-devel
mailing list