As long as it is not peeling or checking, you should be able to lightly clean the walls with a mild solution of soap and TSP using a large sponge, and then repaint with a quality paint such as Sherwin Williams. No repriming necessary.
If the walls are clean, you could even skip the cleaning step.
This is my opinion, lets see what Steve (the pro) has to say.
Dodgeman