summaryrefslogtreecommitdiffstats
path: root/ui/events/ozone/evdev/event_device_info.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/events/ozone/evdev/event_device_info.cc')
-rw-r--r--ui/events/ozone/evdev/event_device_info.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/ui/events/ozone/evdev/event_device_info.cc b/ui/events/ozone/evdev/event_device_info.cc
index 9621646..3e10d79 100644
--- a/ui/events/ozone/evdev/event_device_info.cc
+++ b/ui/events/ozone/evdev/event_device_info.cc
@@ -14,8 +14,6 @@ namespace ui {
namespace {
bool GetEventBits(int fd, unsigned int type, void* buf, unsigned int size) {
- base::ThreadRestrictions::AssertIOAllowed();
-
if (ioctl(fd, EVIOCGBIT(type, size), buf) < 0) {
DLOG(ERROR) << "failed EVIOCGBIT(" << type << ", " << size << ") on fd "
<< fd;
@@ -26,8 +24,6 @@ bool GetEventBits(int fd, unsigned int type, void* buf, unsigned int size) {
}
bool GetPropBits(int fd, void* buf, unsigned int size) {
- base::ThreadRestrictions::AssertIOAllowed();
-
if (ioctl(fd, EVIOCGPROP(size), buf) < 0) {
DLOG(ERROR) << "failed EVIOCGPROP(" << size << ") on fd " << fd;
return false;