mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-02 06:23:18 +02:00
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>
This commit is contained in:

committed by
Edward O'Callaghan

parent
3e4f8d7f5f
commit
06ca247d65
@ -553,12 +553,6 @@ static bool all_skipped = true;
|
||||
|
||||
static int check_block_eraser(const struct flashctx *flash, int k, int log);
|
||||
|
||||
int shutdown_free(void *data)
|
||||
{
|
||||
free(data);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* Register a function to be executed on programmer shutdown.
|
||||
* The advantage over atexit() is that you can supply a void pointer which will
|
||||
* be used as parameter to the registered function upon programmer shutdown.
|
||||
|
Reference in New Issue
Block a user