diff options
author | 2024-10-13 01:11:57 -0400 | |
---|---|---|
committer | 2024-10-15 20:04:11 +0200 | |
commit | ade7ccba2d647fced0c1f5f290705dcab14b674e (patch) | |
tree | f925a7ee92fa5bc2c669a6c0c90acd9584d56fad /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | efi/libstub: fix efi_parse_options() ignoring the default command line (diff) | |
download | wireguard-linux-ade7ccba2d647fced0c1f5f290705dcab14b674e.tar.xz wireguard-linux-ade7ccba2d647fced0c1f5f290705dcab14b674e.zip |
efi/libstub: remove unnecessary cmd_line_len from efi_convert_cmdline()
efi_convert_cmdline() always sets cmdline_size to at least 1 on success,
so the "cmdline_size > 0" does nothing and can be removed (the intent
was to avoid parsing an empty string, but there is nothing wrong with
parsing an empty string, it is only making boot negligibly slower).
Then the cmd_line_len argument to efi_convert_cmdline can be removed
because there is nothing left using it.
Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Signed-off-by: Ard Biesheuvel <ardb@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions