summaryrefslogtreecommitdiffstats
path: root/flash.h
diff options
context:
space:
mode:
authorEdward O'Callaghan <quasisec@google.com>2020-10-19 20:06:04 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2020-10-24 13:28:10 +0000
commit06ca247d65404c83143d4541984f3e7902be40e8 (patch)
tree0199b6a1e1965ece832b39a89c0eda2d08993197 /flash.h
parent3e4f8d7f5fe9216785eb0edd8fb863f4ecd7c58e (diff)
downloadflashrom-06ca247d65404c83143d4541984f3e7902be40e8.tar.gz
flashrom-06ca247d65404c83143d4541984f3e7902be40e8.tar.bz2
flashrom-06ca247d65404c83143d4541984f3e7902be40e8.zip
flashrom.c,flash.h: Kill dead fn shutdown_free()
Seems to be dead code with no call sites. BUG=none BRANCH=none TEST=builds Change-Id: Ic9f33415b8a357916891cb2006612cbf5e6aa559 Signed-off-by: Edward O'Callaghan <quasisec@google.com> Reviewed-on: https://review.coreboot.org/c/flashrom/+/46546 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sam McNally <sammc@google.com>
Diffstat (limited to 'flash.h')
-rw-r--r--flash.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/flash.h b/flash.h
index fefca9d57..203d32d5e 100644
--- a/flash.h
+++ b/flash.h
@@ -54,7 +54,6 @@ typedef uintptr_t chipaddr;
#define PRIxPTR_WIDTH ((int)(sizeof(uintptr_t)*2))
int register_shutdown(int (*function) (void *data), void *data);
-int shutdown_free(void *data);
void *programmer_map_flash_region(const char *descr, uintptr_t phys_addr, size_t len);
void programmer_unmap_flash_region(void *virt_addr, size_t len);
void programmer_delay(unsigned int usecs);