Skip to content
Snippets Groups Projects
Commit b4bd07c2 authored by David S. Miller's avatar David S. Miller
Browse files

net_dma: call dmaengine_get only if NET_DMA enabled


Based upon a patch from Atsushi Nemoto <anemo@mba.ocn.ne.jp>

--------------------
The commit 649274d9 ("net_dma:
acquire/release dma channels on ifup/ifdown") added unconditional call
of dmaengine_get() to net_dma.  The API should be called only if
NET_DMA was enabled.
--------------------

Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
Acked-by: default avatarDan Williams <dan.j.williams@intel.com>
parent 152abd13
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment