Remove unused functions by lcov