zipl/boot: Remove useless cast

'temp_area' is already a 'char *' no reason to cast it to 'char *'.

Reviewed-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Acked-by: Eduard Shishkin <edward6@linux.ibm.com>
Signed-off-by: Marc Hartmayer <mhartmay@linux.ibm.com>
Signed-off-by: Steffen Eiden <seiden@linux.ibm.com>
This commit is contained in:
Marc Hartmayer
2025-08-22 17:13:01 +02:00
committed by Steffen Eiden
parent 179bc57cdf
commit 9dd432ca94

View File

@@ -59,7 +59,7 @@ static int menu_read(void)
if (is_zvm())
for (i = 0; i < count; i++)
temp_area[i] = ebcdic_tolower(temp_area[i]);
value = ebcdic_strtoul((char *)temp_area, &endptr, 10);
value = ebcdic_strtoul(temp_area, &endptr, 10);
if ((endptr != temp_area) && (value < BOOT_MENU_ENTRIES - 1) &&
(__stage2_params.config[value] != 0)) {