|
From: | Philippe Mathieu-Daudé |
Subject: | Re: [PATCH 7/9] hw/i386/pc_sysfw: Inline pc_system_flash_create() and remove it |
Date: | Wed, 21 Feb 2024 17:10:49 +0100 |
User-agent: | Mozilla Thunderbird |
On 8/2/24 23:03, Bernhard Beschow wrote:
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> --- hw/i386/pc_sysfw.c | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-)
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
[Prev in Thread] | Current Thread | [Next in Thread] |