chansrv: no logic change, EOL and coding style cleanup