sml: remove unused function in a bid to fix clang builds