Don't check twice that inp is not NULL.

Reported by:	Coverity
CID:		748671
MFC after:	3 days