It will never be NULL that I can see. The NULL check should go.