From 29007541e8dd5c48635341e62d3befe8ccefde21 Mon Sep 17 00:00:00 2001 From: Jan Polensky Date: Mon, 17 Mar 2025 17:33:22 +0100 Subject: [PATCH] ipl_tools/system.c: Cleanup unused function strlow() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It is no longer referenced in the code. Signed-off-by: Jan Polensky Reviewed-by: Jan Höppner Signed-off-by: Jan Höppner --- ipl_tools/ipl_tools.h | 2 -- ipl_tools/system.c | 11 ----------- 2 files changed, 13 deletions(-) diff --git a/ipl_tools/ipl_tools.h b/ipl_tools/ipl_tools.h index 69611de3..91906eac 100644 --- a/ipl_tools/ipl_tools.h +++ b/ipl_tools/ipl_tools.h @@ -53,8 +53,6 @@ extern void print_eckd(int show_ipl, const char *name); extern int is_lpar(void); extern int is_root(void); -extern void strlow(char *s); - extern void write_str(char *string, char *file); extern int write_str_errno(char *string, char *file); extern void read_str(char *string, const char *file, size_t len); diff --git a/ipl_tools/system.c b/ipl_tools/system.c index e9a41544..c9e56822 100644 --- a/ipl_tools/system.c +++ b/ipl_tools/system.c @@ -46,17 +46,6 @@ int is_root(void) return 0; } -/* - * Convert a string to lower case - */ -void strlow(char *s) -{ - while (*s) { - *s = tolower(*s); - s++; - } -} - /* * Read a string from a particular file */