summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorJonathan Marek <jonathan@marek.ca>2024-10-13 01:11:57 -0400
committerArd Biesheuvel <ardb@kernel.org>2024-10-15 20:04:11 +0200
commitade7ccba2d647fced0c1f5f290705dcab14b674e (patch)
treef925a7ee92fa5bc2c669a6c0c90acd9584d56fad /tools/perf/scripts/python
parentaacfa0ef247b0130b7a98bb52378f8cd727a66ca (diff)
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')
0 files changed, 0 insertions, 0 deletions