]> git.baikalelectronics.ru Git - kernel.git/commit
rtlwifi: rtl8192ee: Convert inline routines to little-endian words
authorLarry Finger <Larry.Finger@lwfinger.net>
Sat, 31 Aug 2019 18:06:43 +0000 (13:06 -0500)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 3 Sep 2019 13:30:47 +0000 (16:30 +0300)
commit8a88aeab885da683980c4bb02c807ac2ee7b7787
treebc20f35c68dd36fdbccda838680f0efc5d6e1ea9
parent738799a91bc7d73d1f943bb43efa0ff4696ec221
rtlwifi: rtl8192ee: Convert inline routines to little-endian words

In this step, the read/write routines for the descriptors are converted
to use __le32 quantities, thus a lot of casts can be removed. Callback
routines still use the 8-bit arrays, but these are changed within the
specified routine.

The macro that cleared a descriptor has now been converted into an inline
routine.

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