aboutsummaryrefslogtreecommitdiff
path: root/clocks.c
diff options
context:
space:
mode:
authorDaniel Lezcano <daniel.lezcano@free.fr>2011-03-26 22:06:11 +0100
committerAmit Kucheria <amit.kucheria@linaro.org>2011-04-04 03:00:27 +0300
commitc5a65bfaeab54c6868eedb8b10f32a8375d6f6e7 (patch)
tree38d72ba937e2159ee02bcfd1c059d7f6e96fd26b /clocks.c
parentc9c146228cc87237f4841503dca6800cbaf70620 (diff)
downloadpowerdebug-c5a65bfaeab54c6868eedb8b10f32a8375d6f6e7.tar.gz
Remove unused clk_name variable
Signed-off-by: Daniel Lezcano <daniel.lezcano@free.fr> Signed-off-by: Amit Kucheria <amit.kucheria@linaro.org>
Diffstat (limited to 'clocks.c')
-rw-r--r--clocks.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/clocks.c b/clocks.c
index 2c9597d..5c5c24f 100644
--- a/clocks.c
+++ b/clocks.c
@@ -20,7 +20,6 @@
#include "clocks.h"
static char clk_dir_path[PATH_MAX];
-static char clk_name[NAME_MAX];
static int bold[MAX_LINES];
static int locate_debugfs(char *clk_path)
@@ -85,8 +84,8 @@ int init_clock_details(bool dump, int selectedwindow)
exit(1);
}
}
- strcpy(clk_name, "");
- return(0);
+
+ return 0;
}
static int file_read_from_format(char *file, int *value, const char *format)