Index: device/bluetooth/bluez/bluetooth_device_bluez.cc |
diff --git a/device/bluetooth/bluez/bluetooth_device_bluez.cc b/device/bluetooth/bluez/bluetooth_device_bluez.cc |
index 06044d6ba746108b9846111b98d0c6d9bd909b75..44338eb7250916fbd2047485b91c876f17d6ffc4 100644 |
--- a/device/bluetooth/bluez/bluetooth_device_bluez.cc |
+++ b/device/bluetooth/bluez/bluetooth_device_bluez.cc |
@@ -88,16 +88,6 @@ void ParseModalias(const dbus::ObjectPath& object_path, |
*device_id = device_value; |
} |
-int8_t ClampPower(int16_t power) { |
- if (power < INT8_MIN) { |
- return INT8_MIN; |
- } |
- if (power > INT8_MAX) { |
- return INT8_MAX; |
- } |
- return static_cast<int8_t>(power); |
-} |
- |
void RecordPairingResult(BluetoothDevice::ConnectErrorCode error_code) { |
UMAPairingResult pairing_result; |
switch (error_code) { |