/* @handle: handle to find @count: number of entries in the array @buffer: array to search  */
efi_status_t find_in_buffer(efi_handle_t handle, size_t count, efi_handle_t *buffer)
/* @handle: handle to find @count: number of entries in the array @buffer: array to search  */
efi_status_t find_in_buffer(efi_handle_t handle, size_t count, efi_handle_t *buffer)
{
	size_t i;
	for (i = 0; i < count; ++i) {
		if (buffer[i] == handle)
			return EFI_SUCCESS;
	}
	return EFI_NOT_FOUND;
}