As Martinn already mentioned, there is no need to add extra hardware, there is no hard limit on motor voltage. Your motor can also run from an 50V power supply, provided that the motor controller itself can work with this voltage. There are some additional constraints, when you are overvolting the motor it can also take more power from the power supply, and when you do this for a long time, (minutes) the motor will overheat. But it's not the extra volts that kill it, it's the excessive heat.
The difference between 24V and 30V is pretty small and this probably ndoe not need any extra sort of protection. If the difference gets bigger, then a method to prevent the motor driver from applying the full input voltage may be an additional precaution. And also keeping an eye on the motor temperature. In industrial applications it's very common to protect motors with extra safety devices such as a PKZ.