From: Heinrich Schuchardt Date: Sun, 18 Mar 2018 11:47:20 +0000 (+0100) Subject: spi: fsl_qspi: remove superfluous assignment X-Git-Tag: v2018.07-rc1~27^2~2 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4bcd88a2d878f327e66efc45cca23693b7a8682b;p=u-boot spi: fsl_qspi: remove superfluous assignment In void *rx_addr = NULL; rx_add = A; the first assignment has no effect. Remove it. Signed-off-by: Heinrich Schuchardt Reviewed-by: Jagan Teki --- diff --git a/drivers/spi/fsl_qspi.c b/drivers/spi/fsl_qspi.c index 3684249484..197f41f9db 100644 --- a/drivers/spi/fsl_qspi.c +++ b/drivers/spi/fsl_qspi.c @@ -407,7 +407,7 @@ static inline void qspi_ahb_read(struct fsl_qspi_priv *priv, u8 *rxbuf, int len) { struct fsl_qspi_regs *regs = priv->regs; u32 mcr_reg; - void *rx_addr = NULL; + void *rx_addr; mcr_reg = qspi_read32(priv->flags, ®s->mcr);