remove unnecessary callback decorator in rio
Signed-off-by: Adam Rutkowski <adam.j.rutkowski@intel.com>
This commit is contained in:
parent
9baf9a3876
commit
372b1f1e1c
@ -106,7 +106,6 @@ class Rio:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
def get_io_cb(self):
|
def get_io_cb(self):
|
||||||
@CFUNCTYPE(c_void_p, c_int)
|
|
||||||
def cb(error):
|
def cb(error):
|
||||||
if error != 0:
|
if error != 0:
|
||||||
self.errors.append(error)
|
self.errors.append(error)
|
||||||
|
Loading…
Reference in New Issue
Block a user