remove unused function
format fixes (Eclipse auto-format)