ekf2: remove unused function (#7529)
ekf2: remove unused function (#7529)

* ekf2: remove unused function

Signed-off-by: CarlOlsson <6936519936097b0f4a0d231fda79eab84b282440@gmail.com>

* ekf2: removed unused variable _mag_decl_saved

Signed-off-by: CarlOlsson <6936519936097b0f4a0d231fda79eab84b282440@gmail.com>

Aerotenna/Firmware,krbeverx/Firmware,PX4/Firmware,Aerotenna/Firmware,mcgill-robotics/Firmware,acfloria/Firmware,jlecoeur/Firmware,krbeverx/Firmware,mcgill-robotics/Firmware,dagar/Firmware,acfloria/Firmware,Aerotenna/Firmware,jlecoeur/Firmware,mje-nz/PX4-Firmware,dagar/Firmware,PX4/Firmware,krbeverx/Firmware,Aerotenna/Firmware,krbeverx/Firmware,dagar/Firmware,PX4/Firmware,jlecoeur/Firmware,PX4/Firmware,jlecoeur/Firmware,mcgill-robotics/Firmware,mje-nz/PX4-Firmware,Aerotenna/Firmware,PX4/Firmware,mje-nz/PX4-Firmware,jlecoeur/Firmware,mje-nz/PX4-Firmware,mcgill-robotics/Firmware,jlecoeur/Firmware,mje-nz/PX4-Firmware,dagar/Firmware,dagar/Firmware,acfloria/Firmware,mcgill-robotics/Firmware,jlecoeur/Firmware,acfloria/Firmware,mje-nz/PX4-Firmware,acfloria/Firmware,krbeverx/Firmware,Aerotenna/Firmware,dagar/Firmware,jlecoeur/Firmware,PX4/Firmware,Aerotenna/Firmware,mcgill-robotics/Firmware,dagar/Firmware,mcgill-robotics/Firmware,PX4/Firmware,acfloria/Firmware,mje-nz/PX4-Firmware,krbeverx/Firmware,acfloria/Firmware,krbeverx/Firmware