[PATCH] mmc: pci: Drop the superfluous cast

Simon Glass sjg at google.com
Thu Oct 12 05:41:00 CEST 2023


On Wed, 11 Oct 2023 at 04:05, Bin Meng <bmeng at tinylab.org> wrote:
>
> dm_pci_map_bar() return a value of (void *) already, hence no need
> to cast it again before assigning to host->ioaddr.
>
> Signed-off-by: Bin Meng <bmeng at tinylab.org>
> ---
>
>  drivers/mmc/pci_mmc.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
>

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list