delete unused IOCTL ACCELIOCTYPE

This commit is contained in:
Daniel Agar 2018-11-03 14:34:11 -04:00 committed by Lorenz Meier
parent 77abcab46f
commit eddbd3fc4b
2 changed files with 0 additions and 6 deletions

View File

@ -85,7 +85,4 @@ struct accel_calibration_s {
/** determine if hardware is external or onboard */
#define ACCELIOCGEXTERNAL _ACCELIOC(12)
/** get the current accel type */
#define ACCELIOCTYPE _ACCELIOC(13)
#endif /* _DRV_ACCEL_H */

View File

@ -1086,9 +1086,6 @@ ADIS16448::ioctl(struct file *filp, int cmd, unsigned long arg)
}
}
case ACCELIOCTYPE:
return (ADIS16448_Product);
default:
/* give it to the superclass */
return SPI::ioctl(filp, cmd, arg);