remove unused, irrelevant function #5855