Re: [PATCH] myri10ge: Simplify DMA setting

From: patchwork-bot+netdevbpf
Date: Sun Jan 09 2022 - 20:01:33 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Sat, 8 Jan 2022 15:22:13 +0100 you wrote:
> As stated in [1], dma_set_mask() with a 64-bit mask will never fail if
> dev->dma_mask is non-NULL.
> So, if it fails, the 32 bits case will also fail for the same reason.
>
> If dma_set_mask_and_coherent() succeeds, 'dac_enabled' is known to be 1.
>
> Simplify code and remove some dead code accordingly.
>
> [...]

Here is the summary with links:
- myri10ge: Simplify DMA setting
https://git.kernel.org/netdev/net-next/c/21ef11eaf3f7

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html