Remove redundant function declaration