delete unused IOCTL MAGIOCGSAMPLERATE

This commit is contained in:
Daniel Agar
2018-11-03 15:40:02 -04:00
committed by Lorenz Meier
parent 60a40ec131
commit 0ea18b2b73
14 changed files with 2 additions and 45 deletions
@@ -659,9 +659,6 @@ ACCELSIM::mag_ioctl(unsigned long cmd, unsigned long arg)
// Nothing to do for simulator
return OK;
case MAGIOCGSAMPLERATE:
return _mag_samplerate;
case MAGIOCSSCALE:
/* copy scale in */
memcpy(&_mag_scale, (struct mag_calibration_s *) arg, sizeof(_mag_scale));