disk: efi: unify code for finding a valid gpt
There were 3 copies of the same sequence, make it into a function. Signed-off-by:Urja Rannikko <urjaman@gmail.com> Reviewed-by:
Kever Yang <kever.yang@rock-chips.com>
Loading
Please register or sign in to comment