From: Igor Mammedov <imammedo@redhat.com>
To: dave@treblig.org
Cc: philmd@linaro.org, kraxel@redhat.com, qemu-devel@nongnu.org
Subject: Re: [PATCH] hw: Remove unused fw_cfg_init_io
Date: Wed, 18 Sep 2024 14:45:44 +0200 [thread overview]
Message-ID: <20240918144544.303ee004@imammedo.users.ipa.redhat.com> (raw)
In-Reply-To: <20240918123542.25319-1-dave@treblig.org>
On Wed, 18 Sep 2024 13:35:42 +0100
dave@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <dave@treblig.org>
>
> fw_cfg_init_io has been unused since
> 918a7f706b ("i386: load kernel on xen using DMA")
>
> Remove it.
>
> Signed-off-by: Dr. David Alan Gilbert <dave@treblig.org>
Reviewed-by: Igor Mammedov <imammedo@redhat.com>
> ---
> hw/nvram/fw_cfg.c | 5 -----
> include/hw/nvram/fw_cfg.h | 1 -
> 2 files changed, 6 deletions(-)
>
> diff --git a/hw/nvram/fw_cfg.c b/hw/nvram/fw_cfg.c
> index 2dadfd6e1f..b644577734 100644
> --- a/hw/nvram/fw_cfg.c
> +++ b/hw/nvram/fw_cfg.c
> @@ -1171,11 +1171,6 @@ FWCfgState *fw_cfg_init_io_dma(uint32_t iobase, uint32_t dma_iobase,
> return s;
> }
>
> -FWCfgState *fw_cfg_init_io(uint32_t iobase)
> -{
> - return fw_cfg_init_io_dma(iobase, 0, NULL);
> -}
> -
> FWCfgState *fw_cfg_init_mem_wide(hwaddr ctl_addr,
> hwaddr data_addr, uint32_t data_width,
> hwaddr dma_addr, AddressSpace *dma_as)
> diff --git a/include/hw/nvram/fw_cfg.h b/include/hw/nvram/fw_cfg.h
> index d173998803..fa42677619 100644
> --- a/include/hw/nvram/fw_cfg.h
> +++ b/include/hw/nvram/fw_cfg.h
> @@ -321,7 +321,6 @@ void fw_cfg_add_extra_pci_roots(PCIBus *bus, FWCfgState *s);
>
> FWCfgState *fw_cfg_init_io_dma(uint32_t iobase, uint32_t dma_iobase,
> AddressSpace *dma_as);
> -FWCfgState *fw_cfg_init_io(uint32_t iobase);
> FWCfgState *fw_cfg_init_mem(hwaddr ctl_addr, hwaddr data_addr);
> FWCfgState *fw_cfg_init_mem_wide(hwaddr ctl_addr,
> hwaddr data_addr, uint32_t data_width,
next prev parent reply other threads:[~2024-09-18 12:46 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-18 12:35 [PATCH] hw: Remove unused fw_cfg_init_io dave
2024-09-18 12:45 ` Igor Mammedov [this message]
2024-10-02 10:34 ` Thomas Huth
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20240918144544.303ee004@imammedo.users.ipa.redhat.com \
--to=imammedo@redhat.com \
--cc=dave@treblig.org \
--cc=kraxel@redhat.com \
--cc=philmd@linaro.org \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).