Remove an unused error code and unusued RSE_MAX.