diff options
author | Bernhard Beschow <shentey@gmail.com> | 2024-02-08 23:03:47 +0100 |
---|---|---|
committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-02-22 12:47:40 +0100 |
commit | cb05cc16029bb0a61ac5279ab7b3b90dcf2aa69f (patch) | |
tree | ef265716804424ae2524177cfa2314139d534830 /python/scripts/vendor.py | |
parent | 6f6ad2b24582593d8feb00434ce2396840666227 (diff) |
hw/i386/pc_sysfw: Inline pc_system_flash_create() and remove it
pc_system_flash_create() checked for pcmc->pci_enabled which is redundant since
its caller already checked it. The method can be turned into just two lines, so
inline and remove it.
Signed-off-by: Bernhard Beschow <shentey@gmail.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20240208220349.4948-8-shentey@gmail.com>
Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Diffstat (limited to 'python/scripts/vendor.py')
0 files changed, 0 insertions, 0 deletions