]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: spi-qpic-snand: avoid double assignment in qcom_spi_probe()
authorGabor Juhos <j4g8y7@gmail.com>
Fri, 8 Aug 2025 13:15:32 +0000 (15:15 +0200)
committerMark Brown <broonie@kernel.org>
Sun, 10 Aug 2025 20:11:43 +0000 (21:11 +0100)
commita1d0b0ae65ae3f32597edfbb547f16c75601cd87
tree43bad6548567485306bad5d17e11c081b88ff5db
parent91e5722baaea06c1f1b105e9e3fd6645dbdd938b
spi: spi-qpic-snand: avoid double assignment in qcom_spi_probe()

The snandc->dev pointer is being assigned twice in the qcom_spi_probe()
function. Remove the second assignment as that uses the same pointer
value than the first one.

No functional changes.

Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Link: https://patch.msgid.link/20250808-qpic-snand-double-assign-fix-v2-1-1a3d0ed0d404@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-qpic-snand.c