Remove superfluous null pointer check.  The pointer is used prior to this check.