Just to clear up the other replies cause they are both right.
if you have ABS. You have a speed sensor on each wheel, and the ABS computer is what averages them and feeds the speedometer.
If you do not have ABS, then its one bolt on your transfer case to remove the VSS.