remove dead function decl