Remove unused code and apply coding rule

No match.