projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4fbc485
)
spi: uniphier: remove unnecessary code
author
Keiji Hayashibara
<hayashibara.keiji@socionext.com>
Tue, 3 Sep 2019 05:31:00 +0000
(14:31 +0900)
committer
Mark Brown
<broonie@kernel.org>
Tue, 3 Sep 2019 11:39:26 +0000
(12:39 +0100)
This commit removed if() because priv->is_save_param is always true.
Signed-off-by: Keiji Hayashibara <hayashibara.keiji@socionext.com>
Link:
https://lore.kernel.org/r/1567488661-11428-3-git-send-email-hayashibara.keiji@socionext.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-uniphier.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-uniphier.c
b/drivers/spi/spi-uniphier.c
index c1e6f32455574eedf9b19dadcf2dfe9c65c69282..226f8508bff294043b4042b141748ee2a37df611 100644
(file)
--- a/
drivers/spi/spi-uniphier.c
+++ b/
drivers/spi/spi-uniphier.c
@@
-226,8
+226,7
@@
static void uniphier_spi_setup_transfer(struct spi_device *spi,
priv->speed_hz = t->speed_hz;
}
- if (!priv->is_save_param)
- priv->is_save_param = true;
+ priv->is_save_param = true;
/* reset FIFOs */
val = SSI_FC_TXFFL | SSI_FC_RXFFL;