diff options
| author | Robin Murphy <robin.murphy@arm.com> | 2017-07-24 18:41:30 +0100 |
|---|---|---|
| committer | Kalle Valo <kvalo@codeaurora.org> | 2017-08-03 13:00:54 +0300 |
| commit | 13cb8a5845ff1a1fe1644bbae9790b557ac69bdb (patch) | |
| tree | 27f7aabf81106869cf3447172dc5112878d871ee /net/lapb/lapb_in.c | |
| parent | 805b28c05c8e0496f679f180e2d276cce8b949b0 (diff) | |
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/lapb/lapb_in.c')
0 files changed, 0 insertions, 0 deletions
