dasc: Remove an unused function