1
0
mirror of https://review.coreboot.org/flashrom.git synced 2025-07-01 06:01:16 +02:00

cli_classic.c: Drop spurious cast

This cast should not be required.

Change-Id: Ia3a658dd6f4986eb6da84a11bce66f53e1571469
Signed-off-by: Edward O'Callaghan <quasisec@google.com>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/72966
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Sam McNally <sammc@google.com>
This commit is contained in:
Edward O'Callaghan
2023-02-13 13:22:37 +11:00
committed by Edward O'Callaghan
parent 1ac468e663
commit 02897021b3

View File

@ -662,8 +662,7 @@ int main(int argc, char *argv[])
* chip when a flash device gets opened with fd 1 or 2.
*/
if (check_file(stdout) && check_file(stderr)) {
flashrom_set_log_callback(
(flashrom_log_callback *)&flashrom_print_cb);
flashrom_set_log_callback(&flashrom_print_cb);
}
print_version();