summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ioctl/hidraw.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/ioctl/hidraw.py b/ioctl/hidraw.py
index e41c714..037a93a 100644
--- a/ioctl/hidraw.py
+++ b/ioctl/hidraw.py
@@ -2,7 +2,6 @@
import array
import ctypes
-import fcntl
import os
from typing import List, Tuple
@@ -52,7 +51,6 @@ class Hidraw(object):
self._path = path
self._fd = os.open(path, os.O_RDWR)
self.read_length = read_length
- fcntl.fcntl(self._fd, fcntl.F_SETFL, os.O_NONBLOCK)
def __str__(self) -> str:
return f'Hidraw({self.path})'