summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Durbin <adurbin@chromium.org>2017-08-02 09:59:21 -0600
committerAaron Durbin <adurbin@chromium.org>2017-08-03 16:36:08 +0000
commitd46b8d581a3f4ca97e33ce0aa05a03b2285f066d (patch)
tree4e3041b8b8c442757010dd930830d0cc81ba4b95
parent1ac0aa9c1c483dec970d8f71d3a8d8f10d019bb1 (diff)
lib/imd_cbmem: remove unused funciton
The cbmem_fail_recovery() function was no longer used. I'm not sure why the compiler never complained. Regardless, delete it. Change-Id: I7d94118068064c61252d1b5ca9d8e92658a699e0 Signed-off-by: Aaron Durbin <adurbin@chromium.org> Reviewed-on: https://review.coreboot.org/20856 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Sumeet R Pawnikar <sumeet.r.pawnikar@intel.com> Reviewed-by: Furquan Shaikh <furquan@google.com>
-rw-r--r--src/lib/imd_cbmem.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/lib/imd_cbmem.c b/src/lib/imd_cbmem.c
index f53a2639c5..2a1abbadb5 100644
--- a/src/lib/imd_cbmem.c
+++ b/src/lib/imd_cbmem.c
@@ -131,13 +131,6 @@ void cbmem_initialize_empty_id_size(u32 id, u64 size)
cbmem_run_init_hooks(no_recovery);
}
-static inline int cbmem_fail_recovery(void)
-{
- cbmem_initialize_empty();
- cbmem_fail_resume();
- return 1;
-}
-
int cbmem_initialize(void)
{
return cbmem_initialize_id_size(0, 0);