spi: s3c64xx: drop a superfluous bitwise NOT operation
authorTudor Ambarus <tudor.ambarus@linaro.org>
Wed, 7 Feb 2024 12:04:31 +0000 (12:04 +0000)
committerMark Brown <broonie@kernel.org>
Thu, 8 Feb 2024 16:33:40 +0000 (16:33 +0000)
commitacd6c7b1d2765fd30b7d7487aff50dc824db314e
tree7ef40d4e68a244700deab6ec77330541ebc3f326
parenteb8096c30ad07e6201830816e398b3ad603cc096
spi: s3c64xx: drop a superfluous bitwise NOT operation

val &= ~mask;
val |= mask;

is equivalent to:
val |= mask;

Drop the superfluous bitwise NOT operation.

Reviewed-by: Sam Protsenko <semen.protsenko@linaro.org>
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
Link: https://lore.kernel.org/r/20240207120431.2766269-18-tudor.ambarus@linaro.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-s3c64xx.c