Re: [PATCH v2] sh: pci: Remove unused variable in SH-7786 PCI Express code
From: Geert Uytterhoeven
Date: Wed Apr 19 2023 - 03:30:46 EST
On Wed, Apr 19, 2023 at 9:14 AM John Paul Adrian Glaubitz
<glaubitz@xxxxxxxxxxxxxxxxxxx> wrote:
> Addresses the following warning when building sdk7786_defconfig:
>
> arch/sh/drivers/pci/pcie-sh7786.c:34:22: warning: 'dma_pfn_offset' defined but not used [-Wunused-variable]
> 34 | static unsigned long dma_pfn_offset;
> | ^~~~~~~~~~~~~~
>
> Fixes: e0d072782c73 ("dma-mapping: introduce DMA range map, supplanting dma_pfn_offset")
> Signed-off-by: John Paul Adrian Glaubitz <glaubitz@xxxxxxxxxxxxxxxxxxx>
> ---
> v2:
> - Fix formatting in commit message
My
Reviewed-by: Geert Uytterhoeven <geert+renesas@xxxxxxxxx>
on v1 is still valid.
Gr{oetje,eeting}s,
Geert
--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx
In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds