rtlwifi: Use ffs in <foo>_phy_calculate_bit_shift
[ Upstream commit 6c1d6191 ] Remove the loop and use the generic ffs instead. Signed-off-by:Joe Perches <joe@perches.com> Signed-off-by:
Kalle Valo <kvalo@codeaurora.org> Link: https://lore.kernel.org/r/e2ab424d24b74901bc0c39f0c60f75e871adf2ba.camel@perches.com Stable-dep-of: bc826308 ("wifi: rtlwifi: rtl8821ae: phy: fix an undefined bitwise shift behavior") Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading
Please sign in to comment