COMP: Remove unnecessary null pointer check