Fix for pylint 'return-in-init' check on nine branch

Remove redundant 'return' and 'pass' statements.