rtlwifi: Use ffs in <foo>_phy_calculate_bit_shift

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
This commit is contained in:
Joe Perches 2020-09-18 23:37:47 -07:00 • committed by Kalle Valo
commit 6c1d619135
7 changed files with 22 additions and 56 deletions