Delete redundant function callings