]> git.proxmox.com Git - mirror_ubuntu-focal-kernel.git/commit
rtlwifi: rtl8192ce: Replace local bit manipulation macros
authorLarry Finger <Larry.Finger@lwfinger.net>
Fri, 2 Aug 2019 01:21:00 +0000 (20:21 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Aug 2019 12:42:51 +0000 (15:42 +0300)
commita246b92914339e539b5fd27b347601fc9f0e8460
treee0c9a0a9bc5e791a65e4bbfc0e249d5bcd4fce6f
parent49a52d05a3c7252357ab6b1e49c17ed0c02cf80f
rtlwifi: rtl8192ce: Replace local bit manipulation macros

This driver uses a set of local macros to manipulate the RX and TX
descriptors, which are all little-endian quantities. These macros
are replaced by the bitfield macros le32p_replace_bits() and
le32_get_bits(). In several places, the macros operated on an entire
32-bit word. In these cases, a direct read or replacement is used.

Signed-off-by: Larry Finger <Larry.Finger@lwfinger.net>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/realtek/rtlwifi/rtl8192ce/trx.h