diff options
author | Daniel Lezcano <daniel.lezcano@free.fr> | 2011-03-26 22:06:11 +0100 |
---|---|---|
committer | Amit Kucheria <amit.kucheria@linaro.org> | 2011-04-04 03:00:27 +0300 |
commit | c5a65bfaeab54c6868eedb8b10f32a8375d6f6e7 (patch) | |
tree | 38d72ba937e2159ee02bcfd1c059d7f6e96fd26b /clocks.c | |
parent | c9c146228cc87237f4841503dca6800cbaf70620 (diff) | |
download | powerdebug-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.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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) |