remoteproc: Drop unnecessary NULL check
authorBjorn Andersson <bjorn.andersson@linaro.org>
Tue, 13 Sep 2016 19:16:20 +0000 (12:16 -0700)
committerBjorn Andersson <bjorn.andersson@linaro.org>
Mon, 19 Sep 2016 23:28:22 +0000 (16:28 -0700)
commiteeac0a878829e15b86429b164244ac18a740633d
tree64d621abf4b30bc7df64d48fa40ff805d9532daa
parent21b6657ef4458f90d64b696105e3898257dea221
remoteproc: Drop unnecessary NULL check

rproc_alloc() will make sure that the "firmware" pointer is either a
driver supplied value or pointing to a generated firmware filename, it
can't be NULL. So drop the extra check in the rproc_boot() path.

Signed-off-by: Bjorn Andersson <bjorn.andersson@linaro.org>
drivers/remoteproc/remoteproc_core.c