From 5d56c1eef7fd730a164c44a742ef2cb0afcfca8d Mon Sep 17 00:00:00 2001 From: Amin Hassani Date: Tue, 27 Oct 2020 15:44:33 -0700 Subject: update_engine: Remove ec_version and fw_version It seems like these values were set for devices like parrot that have been AUE'ed long time ago. The server side doesn't use this values and it doesn't seem we need them anywhere. So its better to not send them anymore since currently we're just sending empty values for them. BUG=b:171829801 TEST=FEATURES=test emerge-reef update_engine Change-Id: I2d2cd5f9d079ce5c87fc8167e30f91d1ffe1c87a Reviewed-on: https://chromium-review.googlesource.com/c/aosp/platform/system/update_engine/+/2504454 Tested-by: Amin Hassani Reviewed-by: Jae Hoon Kim Reviewed-by: Tianjie Xu Commit-Queue: Amin Hassani --- common/utils.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'common/utils.h') diff --git a/common/utils.h b/common/utils.h index bcaed318..f364bfdb 100644 --- a/common/utils.h +++ b/common/utils.h @@ -53,10 +53,6 @@ std::string StringVectorToString(const std::vector& vec_str); std::string CalculateP2PFileId(const brillo::Blob& payload_hash, size_t payload_size); -// Parse the firmware version from one line of output from the -// "mosys" command. -std::string ParseECVersion(std::string input_line); - // Writes the data passed to path. The file at path will be overwritten if it // exists. Returns true on success, false otherwise. bool WriteFile(const char* path, const void* data, size_t data_len); -- cgit v1.2.3