]> git.baikalelectronics.ru Git - uboot.git/commit
x86: ich-spi: Remove useless assignment in ich_spi_xfer()
authorBin Meng <bmeng.cn@gmail.com>
Sun, 27 Aug 2017 02:22:58 +0000 (19:22 -0700)
committerBin Meng <bmeng.cn@gmail.com>
Sat, 2 Sep 2017 15:35:55 +0000 (23:35 +0800)
commitb3b202e54338869fabcd7d99249b3bc8be06d0ee
tree21aeceded5e03c18e04652e3a52b73b3f78730e3
parent121d4e038c32f935f6312b47e2819949041c0ea2
x86: ich-spi: Remove useless assignment in ich_spi_xfer()

In ich_spi_xfer() when the driver presets control fields, control
variable gets assigned twice. Apparently only the last assignment
takes effect. Remove the other one.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Stefan Roese <sr@denx.de>
drivers/spi/ich.c