aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net
diff options
context:
space:
mode:
authorRobin Murphy <robin.murphy@arm.com>2017-07-24 18:41:30 +0100
committerKalle Valo <kvalo@codeaurora.org>2017-08-03 13:00:54 +0300
commit13cb8a5845ff1a1fe1644bbae9790b557ac69bdb (patch)
tree27f7aabf81106869cf3447172dc5112878d871ee /net
parentqtnfmac: prepare for AP_VLAN interface type support (diff)
downloadwireguard-linux-13cb8a5845ff1a1fe1644bbae9790b557ac69bdb.tar.xz
wireguard-linux-13cb8a5845ff1a1fe1644bbae9790b557ac69bdb.zip
qtnfmac: Tidy up DMA mask setting
As the only caller of dma_supported() outside of DMA API internals, the qtfnmac driver stands out and invites scrutiny. Thankfully, it's not being used for evil, but it is entirely redundant, since it open-codes a check that the DMA mask setting functions are going to perform anyway. In fact, the whole qtnf_pcie_init_dma_mask() function is nothing more than a rather long-winded implementation of dma_set_mask_and_coherent(), so let's just use that directly. Signed-off-by: Robin Murphy <robin.murphy@arm.com> Acked-by: Sergey Matyukevich <sergey.matyukevich.os@quantenna.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions