summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChih-hung Hsieh <chh@google.com>2014-11-25 20:32:29 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2014-11-25 20:32:29 +0000
commit7f8ff3bd98a8bc369c54a60fb09d3363b28733d4 (patch)
tree2b2b63165e0d10dc7caa57b78e969f1b0ace15a0
parent415416d5230f768b26e2c9d814f6609dae0969d9 (diff)
parent6beee7ef76576e2634e61c294f4a2d2b0e1ce196 (diff)
downloadandroid_hardware_invensense-7f8ff3bd98a8bc369c54a60fb09d3363b28733d4.tar.gz
android_hardware_invensense-7f8ff3bd98a8bc369c54a60fb09d3363b28733d4.tar.bz2
android_hardware_invensense-7f8ff3bd98a8bc369c54a60fb09d3363b28733d4.zip
Merge "Remove check for condition that can't happen"
-rw-r--r--60xx/libsensors_iio/MPLSensor.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/60xx/libsensors_iio/MPLSensor.cpp b/60xx/libsensors_iio/MPLSensor.cpp
index f1ec9ea..d88728d 100644
--- a/60xx/libsensors_iio/MPLSensor.cpp
+++ b/60xx/libsensors_iio/MPLSensor.cpp
@@ -2490,9 +2490,6 @@ int MPLSensor::populateSensorList(struct sensor_t *list, int len)
/* first add gyro, accel and compass to the list */
/* fill in gyro/accel values */
- if(chip_ID == NULL) {
- LOGE("HAL:Can not get gyro/accel id");
- }
fillGyro(chip_ID, list);
fillAccel(chip_ID, list);