summaryrefslogtreecommitdiffstats
path: root/kexec/arch/sh/crashdump-sh.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/sh/crashdump-sh.c')
-rw-r--r--kexec/arch/sh/crashdump-sh.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/kexec/arch/sh/crashdump-sh.c b/kexec/arch/sh/crashdump-sh.c
index aa25dea3..36e9aaf2 100644
--- a/kexec/arch/sh/crashdump-sh.c
+++ b/kexec/arch/sh/crashdump-sh.c
@@ -90,25 +90,6 @@ static struct crash_elf_info elf_info32 =
page_offset: PAGE_OFFSET,
};
-/* Converts unsigned long to ascii string. */
-static void ultoa(unsigned long i, char *str)
-{
- int j = 0, k;
- char tmp;
-
- do {
- str[j++] = i % 10 + '0';
- } while ((i /=10) > 0);
- str[j] = '\0';
-
- /* Reverse the string. */
- for (j = 0, k = strlen(str) - 1; j < k; j++, k--) {
- tmp = str[k];
- str[k] = str[j];
- str[j] = tmp;
- }
-}
-
static int add_cmdline_param(char *cmdline, uint64_t addr, char *cmdstr,
char *byte)
{