Remove unnecessary function call

for performance and code size.