[trivial] Remove tautological null check.

Factored out from #3085.