Remove checks for conditions that can't happen

In the context of "char str[30];", str can't be NULL.
clang knows about this and throws a warning, breaking the build with
-Werror.

Change-Id: I1d0ba33e1549883c25a821d98256820186a251f1
Signed-off-by: Bernhard Rosenkraenzer <Bernhard.Rosenkranzer@linaro.org>
2 files changed