diff --git a/src/drivers/tfmini/tfmini.cpp b/src/drivers/tfmini/tfmini.cpp index 7dee05ae5b..a2750754b0 100644 --- a/src/drivers/tfmini/tfmini.cpp +++ b/src/drivers/tfmini/tfmini.cpp @@ -451,25 +451,10 @@ TFMINI::ioctl(struct file *filp, int cmd, unsigned long arg) return OK; } - case SENSORIOCGQUEUEDEPTH: - return _reports->size(); - case SENSORIOCRESET: /* XXX implement this */ return -EINVAL; - case RANGEFINDERIOCSETMINIUMDISTANCE: { - set_minimum_distance(*(float *)arg); - return 0; - } - break; - - case RANGEFINDERIOCSETMAXIUMDISTANCE: { - set_maximum_distance(*(float *)arg); - return 0; - } - break; - default: /* give it to the superclass */ return CDev::ioctl(filp, cmd, arg);