Remove unnecessary calculation.