Nope. Starting in 04 the mileage is in the computer not the speedometer like it was from 95 to 03 in the digital speedos. And of course analog speedos before that.
The mileage is in the computer not the speedometer. The old speedometer is not needed. If you buy a new speedometer it should marry to your bike and be fine.