summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlan Green <avg@google.com>2021-01-08 09:08:54 +1100
committerEdward O'Callaghan <quasisec@chromium.org>2021-01-19 13:21:07 +0000
commit386cc556a448fe05139f5eddf43d9fcadce41e0e (patch)
tree86847c742f9a9bb09c19a8ce927dbc93eb3f0782
parent22f0b069bf548f2791845bdad81fd1ff86908e03 (diff)
downloadflashrom-386cc556a448fe05139f5eddf43d9fcadce41e0e.tar.gz
flashrom-386cc556a448fe05139f5eddf43d9fcadce41e0e.tar.bz2
flashrom-386cc556a448fe05139f5eddf43d9fcadce41e0e.zip
programmer: remove unused noop_shutdown function
Function appears to be vestigial. Signed-off-by: Alan Green <avg@google.com> Change-Id: I1b67223aed8be54b60771aa1b2d498836ed28060 Reviewed-on: https://review.coreboot.org/c/flashrom/+/49631 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Edward O'Callaghan <quasisec@chromium.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
-rw-r--r--programmer.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/programmer.c b/programmer.c
index 5c841effc..bee60e386 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)
{