diff --git a/src/drivers/mpu6000/mpu6000.cpp b/src/drivers/mpu6000/mpu6000.cpp index 4fb0f26b83..00f1a3d24e 100644 --- a/src/drivers/mpu6000/mpu6000.cpp +++ b/src/drivers/mpu6000/mpu6000.cpp @@ -1522,8 +1522,6 @@ MPU6000::ioctl(struct file *filp, int cmd, unsigned long arg) int MPU6000::gyro_ioctl(struct file *filp, int cmd, unsigned long arg) { - unsigned dummy = arg; - switch (cmd) { /* these are shared with the accel side */