Unnecessary null check