Remove Clang warning on unnecessary test.

Comparing array to NULL is always false and Clang gives warning.

BUG: 18155819
Change-Id: I954a1a3ae2fbaabe99ad789887c9f48b8921d43b