diff options
author | Rom Lemarchand <romlem@android.com> | 2015-02-27 17:20:29 -0800 |
---|---|---|
committer | Elliott Hughes <enh@google.com> | 2015-03-14 11:05:48 -0700 |
commit | 74b34f3cb79aa8f2c5ba6a9dcc46d0dd84cdac86 (patch) | |
tree | 938a00b0ccfce17fafed89fd8ee4b1f216d78fba /init/util.h | |
parent | f1c2ba490ef979b3d347f08535ab8b817e917e62 (diff) | |
download | system_core-74b34f3cb79aa8f2c5ba6a9dcc46d0dd84cdac86.zip system_core-74b34f3cb79aa8f2c5ba6a9dcc46d0dd84cdac86.tar.gz system_core-74b34f3cb79aa8f2c5ba6a9dcc46d0dd84cdac86.tar.bz2 |
Remove /proc/cpuinfo parsing
- Clean up the paths for ro.revision and ro.hardware parsing
- Use ro.hardwre in ueventd instead of parsing the kernel command line
(cherry-pick of 38b340a52f8e864650db8bae1eb88d5c00485db0.)
Bug: 19366018
Change-Id: I018a293f3d46e736a8b65132b5b00b0f7c20edae
Diffstat (limited to 'init/util.h')
-rw-r--r-- | init/util.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/init/util.h b/init/util.h index 77da3ac..e0b3c69 100644 --- a/init/util.h +++ b/init/util.h @@ -42,7 +42,6 @@ void make_link(const char *oldpath, const char *newpath); void remove_link(const char *oldpath, const char *newpath); int wait_for_file(const char *filename, int timeout); void open_devnull_stdio(void); -void get_hardware_name(char *hardware, unsigned int *revision); void import_kernel_cmdline(int in_qemu, void (*import_kernel_nv)(char *name, int in_qemu)); int make_dir(const char *path, mode_t mode); int restorecon(const char *pathname); |