[client] remove more unused code