projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2665806
)
spi: fsl_qspi: remove superfluous assignment
author
Heinrich Schuchardt
<xypron.glpk@gmx.de>
Sun, 18 Mar 2018 11:47:20 +0000
(12:47 +0100)
committer
Jagan Teki
<jagan@amarulasolutions.com>
Wed, 16 May 2018 13:49:24 +0000
(19:19 +0530)
In
void *rx_addr = NULL;
rx_add = A;
the first assignment has no effect. Remove it.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Jagan Teki <jagan@openedev.com>
drivers/spi/fsl_qspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/fsl_qspi.c
b/drivers/spi/fsl_qspi.c
index 368424948478e0691dafbe3e5faa123c7b411537..197f41f9db093b8123c6b04e47ea24c445426461 100644
(file)
--- 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);