Commit 134ed10
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: Jan Kiszka <[email protected]>
Reviewed-by: Ilias Apalodimas <[email protected]>
Acked-by: Sumit Garg <[email protected]>
Signed-off-by: Ard Biesheuvel <[email protected]>1 parent 01a3044 commit 134ed10
1 file changed
+1
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
185 | 185 | | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
| 188 | + | |
190 | 189 | | |
191 | 190 | | |
192 | 191 | | |
| |||
0 commit comments