mirror of
https://github.com/ibm-s390-linux/s390-tools.git
synced 2026-08-05 02:14:52 +00:00
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:
committed by
Steffen Eiden
parent
179bc57cdf
commit
9dd432ca94
@@ -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)) {
|
||||
|
||||
Reference in New Issue
Block a user