In this case, it's not directly related. The inner core isn't what causes the Earth's magnetic field. It's convection within the liquid outer core that gives us a strong magnetic field. The inner core changing shape wouldn't necessarily cause changes in the Earth's magnetic field.