diff options
author | Edward O'Callaghan <quasisec@google.com> | 2023-02-13 13:22:37 +1100 |
---|---|---|
committer | Edward O'Callaghan <quasisec@chromium.org> | 2023-02-17 04:27:49 +0000 |
commit | 02897021b34f62bfa03b5e75917bf0a8a7efcc8a (patch) | |
tree | ec3ecb4f90b4a6cb0fa0fe26df4fba55a1c167e3 | |
parent | 1ac468e6635760fdb581ea021d0db4b73d5dc844 (diff) | |
download | flashrom-02897021b34f62bfa03b5e75917bf0a8a7efcc8a.tar.gz flashrom-02897021b34f62bfa03b5e75917bf0a8a7efcc8a.tar.bz2 flashrom-02897021b34f62bfa03b5e75917bf0a8a7efcc8a.zip |
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>
-rw-r--r-- | cli_classic.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli_classic.c b/cli_classic.c index c72836fc..da689196 100644 --- a/cli_classic.c +++ b/cli_classic.c @@ -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(); |