REFACTOR: removes useless conditional (PR #9667)

This use of variable ‘content’ always evaluates to true.

GitHub