delete unused IOCTL GYROIOCTYPE

This commit is contained in:
Daniel Agar 2018-11-03 15:06:35 -04:00 committed by Lorenz Meier
parent ef65e5267a
commit 0d67050089
2 changed files with 0 additions and 6 deletions

View File

@ -82,7 +82,4 @@ struct gyro_calibration_s {
/** set the gyro scaling constants to (arg) */
#define GYROIOCSSCALE _GYROIOC(4)
/** get the current gyro type */
#define GYROIOCTYPE _GYROIOC(13)
#endif /* _DRV_GYRO_H */

View File

@ -1129,9 +1129,6 @@ ADIS16448::gyro_ioctl(struct file *filp, int cmd, unsigned long arg)
memcpy(&_gyro_scale, (struct gyro_calibration_s *) arg, sizeof(_gyro_scale));
return OK;
case GYROIOCTYPE:
return (ADIS16448_Product);
default:
/* give it to the superclass */
return SPI::ioctl(filp, cmd, arg);