From: Heinrich Schuchardt Date: Sun, 18 Mar 2018 11:47:20 +0000 (+0100) Subject: spi: fsl_qspi: remove superfluous assignment X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=4bcd88a2d878f327e66efc45cca23693b7a8682b;p=u-boot.git 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);