[kuroneko] minor efficiency update, removed dead code