delete unused IOCTL MAGIOCGRANGE

This commit is contained in:
Daniel Agar
2018-11-06 07:43:43 +08:00
committed by Lorenz Meier
parent 0ea18b2b73
commit d76155107c
8 changed files with 2 additions and 23 deletions
-3
View File
@@ -1167,9 +1167,6 @@ ADIS16448::mag_ioctl(struct file *filp, int cmd, unsigned long arg)
memcpy((struct mag_calibration_s *) arg, &_mag_scale, sizeof(_mag_scale));
return OK;
case MAGIOCGRANGE:
return (unsigned long)(_mag_range_mgauss);
default:
/* give it to the superclass */
return SPI::ioctl(filp, cmd, arg);