Re: [PATCH] rtlwifi: Use ffs in _phy_calculate_bit_shift

2020-09-22 Thread Kalle Valo
Joe Perches wrote: > Remove the loop and use the generic ffs instead. > > Signed-off-by: Joe Perches Patch applied to wireless-drivers-next.git, thanks. 6c1d61913570 rtlwifi: Use ffs in _phy_calculate_bit_shift -- https://patchwork.kernel.org/patch/11786667/ https://wireless.wiki.kernel.or

[PATCH] rtlwifi: Use ffs in _phy_calculate_bit_shift

2020-09-18 Thread Joe Perches
Remove the loop and use the generic ffs instead. Signed-off-by: Joe Perches --- Just saw one by happenstance, might as well fix them all. drivers/net/wireless/realtek/rtlwifi/rtl8188ee/phy.c | 18 ++ .../net/wireless/realtek/rtlwifi/rtl8192c/phy_common.c | 8 ++-- drivers