commit | 743e8f16a731d45850505dd20c2936e6ac430a91 | [log] [tgz] |
---|---|---|
author | Douglas Anderson <dianders@google.com> | Wed Nov 06 09:24:50 2024 -0800 |
committer | Douglas Anderson <dianders@google.com> | Wed Nov 06 12:22:48 2024 -0800 |
tree | 595aa566ab9b2045a05347bfb5159b000fdafe79 | |
parent | 5d5906fb02d3f95c5c6e5cf92d30011713e4b0c2 [diff] |
init: Use ConsumePrefix() instead of open coding in GetBlockDeviceSymlinks() In GetBlockDeviceSymlinks() we may need to strip the "/devices/platform/" or "/devices/" from a string. Use the helper ConsumePrefix() to do this, which is more convenient and readable. This change is intended to be a no-op and just a cleanup. Bug: 316324155 Test: Build and boot Change-Id: I1adb1906ec37ff8f6f505abc5f26e1e3b157e608