lib/hardwaremain: Drop boot_state_current_{block,unblock}()
There are no more callers. BUG=b:179699789 TEST=Compile guybrush Signed-off-by: Raul E Rangel <rrangel@chromium.org> Change-Id: I522f17c0e450641c0a60496ba07800da7e39889c Reviewed-on: https://review.coreboot.org/c/coreboot/+/56389 Reviewed-by: Karthik Ramasubramanian <kramasub@google.com> Reviewed-by: Furquan Shaikh <furquan@google.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
This commit is contained in:
parent
4aec58dce7
commit
dfa8229d03
|
@ -163,9 +163,6 @@ void boot_state_sched_entries(struct boot_state_init_entry *entries,
|
|||
* success < 0 when the phase of the (state,seq) has already ran. */
|
||||
int boot_state_block(boot_state_t state, boot_state_sequence_t seq);
|
||||
int boot_state_unblock(boot_state_t state, boot_state_sequence_t seq);
|
||||
/* Block/Unblock current state phase from transitioning. */
|
||||
void boot_state_current_block(void);
|
||||
void boot_state_current_unblock(void);
|
||||
|
||||
/* In order to schedule boot state callbacks at compile-time specify the
|
||||
* entries in an array using the BOOT_STATE_INIT_ENTRIES and
|
||||
|
|
|
@ -519,13 +519,3 @@ int boot_state_unblock(boot_state_t state, boot_state_sequence_t seq)
|
|||
|
||||
return 0;
|
||||
}
|
||||
|
||||
void boot_state_current_block(void)
|
||||
{
|
||||
boot_state_block(current_phase.state_id, current_phase.seq);
|
||||
}
|
||||
|
||||
void boot_state_current_unblock(void)
|
||||
{
|
||||
boot_state_unblock(current_phase.state_id, current_phase.seq);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue