forked from Archive/PX4-Autopilot
delete unused IOCTL ACCELIOCTYPE
This commit is contained in:
parent
77abcab46f
commit
eddbd3fc4b
|
@ -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 */
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue