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>
This commit is contained in:
Aaron Durbin 2017-08-02 09:59:21 -06:00
parent 1ac0aa9c1c
commit d46b8d581a
1 changed files with 0 additions and 7 deletions

View File

@ -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);