Re: [PATCH] bus: mhi: Remove unused functions

From: Jeffrey Hugo
Date: Mon Jan 27 2025 - 18:50:31 EST


On 1/27/2025 2:58 PM, linux@xxxxxxxxxxx wrote:
From: "Dr. David Alan Gilbert" <linux@xxxxxxxxxxx>

mhi_device_get() and mhi_queue_dma() haven't been used since 2020's
commit 189ff97cca53 ("bus: mhi: core: Add support for data transfer")
added them.

Remove them.

I suppose it is time to remove them.

Note that mhi_queue_dma_sync() is used and has been left.

Does it make sense to drop the "sync" postfix since the remaining function does not need to distinguish from another implementation?

-Jeff