GC: remove redundant null checks.