Inline a redundant function