Revert "init: poll in first stage mount if required devices are not found"
Bug: 62864413
This reverts commit 5f4e8eac8a0db87a43ed7a930103f4241c22d479.
Change-Id: I6f35b920bb52875c8ef430d3e20b205fda5165e8
diff --git a/init/devices.h b/init/devices.h
index 62aef2e..3f2cde4 100644
--- a/init/devices.h
+++ b/init/devices.h
@@ -17,11 +17,8 @@
#ifndef _INIT_DEVICES_H
#define _INIT_DEVICES_H
-#include <sys/stat.h>
-
-#include <chrono>
#include <functional>
-#include <optional>
+#include <sys/stat.h>
enum coldboot_action_t {
// coldboot continues without creating the device for the uevent
@@ -56,10 +53,8 @@
mode_t perm, unsigned int uid,
unsigned int gid, unsigned short prefix,
unsigned short wildcard);
+int get_device_fd();
char** get_block_device_symlinks(struct uevent* uevent);
-void device_poll(const coldboot_callback& callback = nullptr,
- const std::optional<std::chrono::milliseconds> relative_timeout = {});
-
#endif /* _INIT_DEVICES_H */