server: rm unused func