programmer: remove unused noop_shutdown function
Function appears to be vestigial.
flashrom-stable: Squashed fixup
Signed-off-by: Alan Green <avg@google.com>
Change-Id: I1b67223aed8be54b60771aa1b2d498836ed28060
Original-Reviewed-on: https://review.coreboot.org/c/flashrom/+/49631
Original-Reviewed-by: Edward O'Callaghan <quasisec@chromium.org>
Original-Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-on: https://review.coreboot.org/c/flashrom-stable/+/71337
Reviewed-by: Nico Huber <nico.h@gmx.de>
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
diff --git a/programmer.c b/programmer.c
index 5c841ef..bee60e3 100644
--- a/programmer.c
+++ b/programmer.c
@@ -17,12 +17,6 @@
#include "flash.h"
#include "programmer.h"
-/* No-op shutdown() for programmers which don't need special handling */
-int noop_shutdown(void)
-{
- return 0;
-}
-
/* Fallback map() for programmers which don't need special handling */
void *fallback_map(const char *descr, uintptr_t phys_addr, size_t len)
{
diff --git a/programmer.h b/programmer.h
index 591f8ca..8b1de53 100644
--- a/programmer.h
+++ b/programmer.h
@@ -695,7 +695,6 @@
int register_opaque_master(const struct opaque_master *mst);
/* programmer.c */
-int noop_shutdown(void);
void *fallback_map(const char *descr, uintptr_t phys_addr, size_t len);
void fallback_unmap(void *virt_addr, size_t len);
void fallback_chip_writew(const struct flashctx *flash, uint16_t val, chipaddr addr);