Port patch: remove useless trim.