Commit 151d0eaf authored by Keiji Hayashibara's avatar Keiji Hayashibara Committed by Mark Brown

spi: uniphier: remove unnecessary code

This commit removed if() because priv->is_save_param is always true.
Signed-off-by: default avatarKeiji Hayashibara <hayashibara.keiji@socionext.com>
Link: https://lore.kernel.org/r/1567488661-11428-3-git-send-email-hayashibara.keiji@socionext.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4fbc4853
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment