summaryrefslogtreecommitdiffstats
path: root/kexec/arch/i386/crashdump-x86.c
diff options
context:
space:
mode:
Diffstat (limited to 'kexec/arch/i386/crashdump-x86.c')
-rw-r--r--kexec/arch/i386/crashdump-x86.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/kexec/arch/i386/crashdump-x86.c b/kexec/arch/i386/crashdump-x86.c
index 9826f6d1..df1f24cb 100644
--- a/kexec/arch/i386/crashdump-x86.c
+++ b/kexec/arch/i386/crashdump-x86.c
@@ -601,25 +601,6 @@ static int delete_memmap(struct memory_range *memmap_p, int *nr_memmap,
return 0;
}
-/* 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 void cmdline_add_memmap_internal(char *cmdline, unsigned long startk,
unsigned long endk, int type)
{