From 0d67050089095240faa759ece325b64b3256aa24 Mon Sep 17 00:00:00 2001 From: Daniel Agar Date: Sat, 3 Nov 2018 15:06:35 -0400 Subject: [PATCH] delete unused IOCTL GYROIOCTYPE --- src/drivers/drv_gyro.h | 3 --- src/drivers/imu/adis16448/adis16448.cpp | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/drivers/drv_gyro.h b/src/drivers/drv_gyro.h index 6963a6b651..8deb6dc494 100644 --- a/src/drivers/drv_gyro.h +++ b/src/drivers/drv_gyro.h @@ -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 */ diff --git a/src/drivers/imu/adis16448/adis16448.cpp b/src/drivers/imu/adis16448/adis16448.cpp index 4ede483025..3163fc12f1 100644 --- a/src/drivers/imu/adis16448/adis16448.cpp +++ b/src/drivers/imu/adis16448/adis16448.cpp @@ -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);