Re: [PATCH] dma-mapping: no need to pass a bus_type into get_arch_dma_ops()
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
- To: "Greg Kroah-Hartman" <gregkh@xxxxxxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx
- Subject: Re: [PATCH] dma-mapping: no need to pass a bus_type into get_arch_dma_ops()
- From: "Arnd Bergmann" <arnd@xxxxxxxx>
- Date: Tue, 14 Feb 2023 15:12:29 +0100
- Cc: "Richard Henderson" <richard.henderson@xxxxxxxxxx>, "Ivan Kokshaysky" <ink@xxxxxxxxxxxxxxxxxxxx>, "Matt Turner" <mattst88@xxxxxxxxx>, "Thomas Bogendoerfer" <tsbogend@xxxxxxxxxxxxxxxx>, "James E . J . Bottomley" <James.Bottomley@xxxxxxxxxxxxxxxxxxxxx>, "Helge Deller" <deller@xxxxxx>, "David S . Miller" <davem@xxxxxxxxxxxxx>, "Thomas Gleixner" <tglx@xxxxxxxxxxxxx>, "Ingo Molnar" <mingo@xxxxxxxxxx>, "Borislav Petkov" <bp@xxxxxxxxx>, "Dave Hansen" <dave.hansen@xxxxxxxxxxxxxxx>, x86@xxxxxxxxxx, "H. Peter Anvin" <hpa@xxxxxxxxx>, "Christoph Hellwig" <hch@xxxxxx>, "Marek Szyprowski" <m.szyprowski@xxxxxxxxxxx>, "Robin Murphy" <robin.murphy@xxxxxxx>, "Konrad Rzeszutek Wilk" <konrad.wilk@xxxxxxxxxx>, linux-alpha@xxxxxxxxxxxxxxx, linux-ia64@xxxxxxxxxxxxxxx, linux-mips@xxxxxxxxxxxxxxx, linux-parisc@xxxxxxxxxxxxxxx, sparclinux@xxxxxxxxxxxxxxx, iommu@xxxxxxxxxxxxxxx, Linux-Arch <linux-arch@xxxxxxxxxxxxxxx>
- Feedback-id: i56a14606:Fastmail
- In-reply-to: <20230214140121.131859-1-gregkh@linuxfoundation.org>
- References: <20230214140121.131859-1-gregkh@linuxfoundation.org>
- User-agent: Cyrus-JMAP/3.9.0-alpha0-156-g081acc5ed5-fm-20230206.001-g081acc5e
On Tue, Feb 14, 2023, at 15:01, Greg Kroah-Hartman wrote:
> The get_arch_dma_ops() arch-specific function never does anything with
> the struct bus_type that is passed into it, so remove it entirely as it
> is not needed.
> Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
> ---
> Note: Unless someone objects, I would like to take this through the
> driver-core tree, as further bus_type cleanups depend on it, and it's
> stand-alone from everyone else's tree at the moment from what I can
> determine.
Nice find!
Reviewed-by: Arnd Bergmann <arnd@xxxxxxxx>
It looks like the bus was last required in 2020 before commit
255a69a94b8c ("sparc32: use per-device dma_ops").
Arnd
[Index of Archives]
[Linux Kernel]
[Sparc Linux]
[DCCP]
[Linux ARM]
[Yosemite News]
[Linux SCSI]
[Linux x86_64]
[Linux for Ham Radio]