drivers/spi-rockchip.c : Remove redundant variable slave
authorLizhe <sensor1010@163.com>
Sun, 26 Feb 2023 06:33:34 +0000 (14:33 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 5 Mar 2023 23:41:28 +0000 (23:41 +0000)
commit8c220e6c6da9c2f70a78ba8b3121893b3634a54c
tree14401f802bb0b3afe216e9a01ef3a39cc9993377
parentd447fa6564788af2b8729f66157e1220ecf6d136
drivers/spi-rockchip.c : Remove redundant variable slave

variable slave in spi_alloc_master() or spi_alloc_slave()
has been assigned. it is not necessary to be assigned again

Signed-off-by: Lizhe <sensor1010@163.com>
Link: https://lore.kernel.org/r/20230226063334.7489-1-sensor1010@163.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-rockchip.c