hibernate_clear_signature() is only used by hibernate_resume(), so
authorguenther <guenther@openbsd.org>
Fri, 7 Jan 2022 02:47:06 +0000 (02:47 +0000)
committerguenther <guenther@openbsd.org>
Fri, 7 Jan 2022 02:47:06 +0000 (02:47 +0000)
commit8cae4923c1f963ffa9eccc5aef6128da4b26206b
treeed6c02b42a1ed3b19c00a2557c1a9e5ecd751833
parent3fed8fd5e758c6f38637bc27240b81cee0599d72
hibernate_clear_signature() is only used by hibernate_resume(), so
pass in the already read hibernate_info instead of reading it again.

ok deraadt@
sys/kern/subr_hibernate.c
sys/sys/hibernate.h