summaryrefslogtreecommitdiff
path: root/drivers/spi/spi-amd.c
diff options
context:
space:
mode:
authorye xingchen <ye.xingchen@zte.com.cn>2022-08-25 07:28:28 +0000
committerMark Brown <broonie@kernel.org>2022-08-25 12:29:36 +0100
commitd294e99cdc823f368530b8169e33a599fa2a1afe (patch)
tree8f2fb11e60c85408c0f38bc9fcd7d59f94186893 /drivers/spi/spi-amd.c
parent1a09e0e8cfbbf91169fddf55a4b0e2f631fa57ad (diff)
downloadlwn-d294e99cdc823f368530b8169e33a599fa2a1afe.tar.gz
lwn-d294e99cdc823f368530b8169e33a599fa2a1afe.zip
spi: pxa2xx: Remove the unneeded result variable
Return the value clk_prepare_enable() directly instead of storing it in another redundant variable. Reported-by: Zeal Robot <zealci@zte.com.cn> Signed-off-by: ye xingchen <ye.xingchen@zte.com.cn> Link: https://lore.kernel.org/r/20220825072828.229294-1-ye.xingchen@zte.com.cn Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/spi/spi-amd.c')
0 files changed, 0 insertions, 0 deletions