- Remove tautological tests.
- Remove comments that repeat what the code says.
- Keep a comment only when:
- it explains a fix for a bug outside this repository, such as a backported patch or pull request;
- the reason for the code or block is not clear from the code.