[PATCH v5 04/16] iio: adc: xilinx-xadc: Drop unnecessary masking and dead code

Joshua Crofts crofts at kernel.org
Wed Nov 18 00:52:41 PST 2026


On Tue, 10 Nov 2026 10:31:49 +0530
Dileep Kumar Nagavarapu <dileepkumar.nagavarapu at amd.com> wrote:

> Remove a no-operation bitwise-OR with zero (dead code) and the redundant
> 16-bit masking when storing values into u16 destinations, where the
> mask has no effect.
> 
> No functional change intended.
> 
> Co-developed-by: Sai Krishna Potthuri <sai.krishna.potthuri at amd.com>
> Signed-off-by: Sai Krishna Potthuri <sai.krishna.potthuri at amd.com>
> Signed-off-by: Dileep Kumar Nagavarapu <dileepkumar.nagavarapu at amd.com>
> ---

Reviewed-by: Joshua Crofts <crofts at kernel.org>

-- 
Kind regards,
Joshua Crofts



More information about the linux-arm-kernel mailing list