Index: chromeos/network/device_state.cc |
diff --git a/chromeos/network/device_state.cc b/chromeos/network/device_state.cc |
index 0880ef7393d64247b8ed3e0b6660cb7064382dab..b0453d51927ff891b6a39a3f2bb55821996109f7 100644 |
--- a/chromeos/network/device_state.cc |
+++ b/chromeos/network/device_state.cc |
@@ -158,18 +158,6 @@ void DeviceState::IPConfigPropertiesChanged( |
ip_config->MergeDictionary(&properties); |
} |
-std::string DeviceState::GetFormattedMacAddress() const { |
- if (mac_address_.size() % 2 != 0) |
- return mac_address_; |
- std::string result; |
- for (size_t i = 0; i < mac_address_.size(); ++i) { |
- if ((i != 0) && (i % 2 == 0)) |
- result.push_back(':'); |
- result.push_back(mac_address_[i]); |
- } |
- return result; |
-} |
- |
bool DeviceState::IsSimAbsent() const { |
return technology_family_ == shill::kTechnologyFamilyGsm && !sim_present_; |
} |