blob: 216c5e9b887d4c40cd57e320f2ddfafdae3887b8 [file] [log] [blame]
Lorenz Brun5d40c672021-09-28 15:06:37 +02001From 8f0fa4ec981e6c22013949f551ef1b2d7b7dc0e3 Mon Sep 17 00:00:00 2001
2From: Lorenz Brun <lorenz@monogon.tech>
3Date: Wed, 29 Sep 2021 19:10:17 +0200
4Subject: [PATCH] Remove wrong assertion that a cmdline exists
5
6All uses of cmdline are gated behind an if statement, it is perfectly
7acceptable for cmdline to not be passed.
8---
9 src/boot/efi/linux.c | 1 -
10 1 file changed, 1 deletion(-)
11
12diff --git a/src/boot/efi/linux.c b/src/boot/efi/linux.c
13index 0d58f39ff6..ad82ade019 100644
14--- a/src/boot/efi/linux.c
15+++ b/src/boot/efi/linux.c
16@@ -40,7 +40,6 @@ EFI_STATUS linux_exec(EFI_HANDLE image,
17 EFI_STATUS err;
18
19 assert(image);
20- assert(cmdline);
21
22 image_params = (const struct boot_params *) linux_addr;
23
24--
252.25.1
26