Commit 134ed109 authored by Jan Kiszka's avatar Jan Kiszka Committed by Ard Biesheuvel
Browse files

efi: stmm: Drop unneeded null pointer check



The API documenation of setup_mm_hdr does not mention that dptr can be
NULL, this is a local function, and no caller passes NULL. So drop the
unneeded check.

Signed-off-by: default avatarJan Kiszka <jan.kiszka@siemens.com>
Reviewed-by: default avatarIlias Apalodimas <ilias.apalodimas@linaro.org>
Acked-by: default avatarSumit Garg <sumit.garg@oss.qualcomm.com>
Signed-off-by: default avatarArd Biesheuvel <ardb@kernel.org>
parent 01a3044a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment