Re: [U-Boot] [PATCH 1/2] x86: ich-spi: Remove useless assignment in ich_spi_xfer()

2017-09-01 Thread Bin Meng
On Sun, Aug 27, 2017 at 4:00 PM, Stefan Roese wrote: > On 27.08.2017 04:22, Bin Meng wrote: >> >> 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 M

Re: [U-Boot] [PATCH 1/2] x86: ich-spi: Remove useless assignment in ich_spi_xfer()

2017-08-27 Thread Stefan Roese
On 27.08.2017 04:22, Bin Meng wrote: 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 --- drivers/spi/ich.c | 2 -- 1 file changed, 2 deletions(-)

[U-Boot] [PATCH 1/2] x86: ich-spi: Remove useless assignment in ich_spi_xfer()

2017-08-26 Thread Bin Meng
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 --- drivers/spi/ich.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/spi/ich.c b/drivers/