]> git.baikalelectronics.ru Git - kernel.git/commit
net: ipa: don't use u32p_replace_bits()
authorAlex Elder <elder@linaro.org>
Thu, 22 Sep 2022 22:20:53 +0000 (17:20 -0500)
committerJakub Kicinski <kuba@kernel.org>
Sat, 24 Sep 2022 03:56:27 +0000 (20:56 -0700)
commitc95d17a64cec65274ed977e14dbbebb436aec7f4
treec7e3a68f766974fcb20b6da200cacc319f0e64e0
parent493b385b909d1a76f3746ac2716ed73e3c2e6c24
net: ipa: don't use u32p_replace_bits()

In two spots we use u32_replace_bits() to replace a set of bits in a
register while preserving the rest.  Both of those cases just zero
the bits being replaced, and this can be done more simply without
using that function.

Signed-off-by: Alex Elder <elder@linaro.org>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ipa/ipa_table.c