b43legacy: simplify engine type / DMA mask selection
authorChristoph Hellwig <hch@lst.de>
Tue, 25 Jun 2019 10:29:30 +0000 (12:29 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 27 Jun 2019 11:37:29 +0000 (14:37 +0300)
commit80372782e4cb65f29b252ecec5a966355d773275
tree00ea4f700e52e04e2d2ef5de1f03852e5889305f
parent258989000849a48ff21400cf90c93be3f08d0582
b43legacy: simplify engine type / DMA mask selection

Return the engine type from the function looking at the registers, and
just derive the DMA mask from that in the one place we care.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/broadcom/b43legacy/dma.c