summaryrefslogtreecommitdiff
path: root/6515
diff options
context:
space:
mode:
Diffstat (limited to '6515')
-rwxr-xr-x6515/libsensors_iio/sensors_mpl.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/6515/libsensors_iio/sensors_mpl.cpp b/6515/libsensors_iio/sensors_mpl.cpp
index 3e1ff52..2df1a8b 100755
--- a/6515/libsensors_iio/sensors_mpl.cpp
+++ b/6515/libsensors_iio/sensors_mpl.cpp
@@ -299,14 +299,6 @@ int sensors_poll_context_t::pollEvents(sensors_event_t *data, int count)
data += nb;
}
}
-
- if (mPollFds[numSensorDrivers].revents & POLLIN) {
- char msg;
- int result = read(mPollFds[numSensorDrivers].fd, &msg, 1);
- LOGE_IF(result < 0,
- "error reading from wake pipe (%s)", strerror(errno));
- mPollFds[numSensorDrivers].revents = 0;
- }
}
return nbEvents;
}