delete unimplemented SENSORIOCRESET IOCTL

This commit is contained in:
Daniel Agar 2018-11-04 20:48:20 -05:00 committed by Lorenz Meier
parent b0caea9edc
commit 7caf9803ed
10 changed files with 0 additions and 40 deletions

View File

@ -395,10 +395,6 @@ HC_SR04::ioctl(device::file_t *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
default:
/* give it to the superclass */
return CDev::ioctl(filp, cmd, arg);

View File

@ -391,10 +391,6 @@ MB12XX::ioctl(device::file_t *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
default:
/* give it to the superclass */
return I2C::ioctl(filp, cmd, arg);

View File

@ -372,10 +372,6 @@ SF0X::ioctl(device::file_t *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
default:
/* give it to the superclass */
return CDev::ioctl(filp, cmd, arg);

View File

@ -391,10 +391,6 @@ SF1XX::ioctl(device::file_t *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
default:
/* give it to the superclass */
return I2C::ioctl(filp, cmd, arg);

View File

@ -391,10 +391,6 @@ SRF02::ioctl(device::file_t *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
default:
/* give it to the superclass */
return I2C::ioctl(filp, cmd, arg);

View File

@ -469,10 +469,6 @@ TERARANGER::ioctl(device::file_t *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
default:
/* give it to the superclass */
return I2C::ioctl(filp, cmd, arg);

View File

@ -409,10 +409,6 @@ TFMINI::ioctl(device::file_t *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
default:
/* give it to the superclass */
return CDev::ioctl(filp, cmd, arg);

View File

@ -381,10 +381,6 @@ PX4FLOW::ioctl(struct file *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
default:
/* give it to the superclass */
return I2C::ioctl(filp, cmd, arg);

View File

@ -188,10 +188,6 @@ Airspeed::ioctl(device::file_t *filp, int cmd, unsigned long arg)
}
break;
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
case AIRSPEEDIOCSSCALE: {
struct airspeed_scale *s = (struct airspeed_scale *)arg;
_diff_pres_offset = s->offset_pa;

View File

@ -216,10 +216,6 @@ AirspeedSim::ioctl(cdev::file_t *filp, int cmd, unsigned long arg)
}
}
case SENSORIOCRESET:
/* XXX implement this */
return -EINVAL;
case AIRSPEEDIOCSSCALE: {
struct airspeed_scale *s = (struct airspeed_scale *)arg;
_diff_pres_offset = s->offset_pa;