Edward O'Callaghan submitted this change.

View Change

Approvals: build bot (Jenkins): Verified Angel Pons: Looks good to me, approved Edward O'Callaghan: Looks good to me, approved
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>
---
M programmer.c
1 file changed, 0 insertions(+), 6 deletions(-)

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)
{

To view, visit change 49631. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: flashrom
Gerrit-Branch: master
Gerrit-Change-Id: I1b67223aed8be54b60771aa1b2d498836ed28060
Gerrit-Change-Number: 49631
Gerrit-PatchSet: 3
Gerrit-Owner: Alan Green <avg@google.com>
Gerrit-Reviewer: Angel Pons <th3fanbus@gmail.com>
Gerrit-Reviewer: Edward O'Callaghan <quasisec@chromium.org>
Gerrit-Reviewer: build bot (Jenkins) <no-reply@coreboot.org>
Gerrit-CC: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-MessageType: merged