Skip to content
Unverified Commit 4ebf8816 authored by Jay Fang's avatar Jay Fang Committed by Mark Brown
Browse files

spi: spidev: Remove redundant initialization of variable status



In spidev_read() and spidev_write(), the variable status is being
initialized with a value that is never read and it is being updated
later with a new value. The initialization is redundant and can be
removed.

Signed-off-by: default avatarJay Fang <f.fangjian@huawei.com>
Reviewed-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/1599631704-53232-1-git-send-email-f.fangjian@huawei.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent b0b71a6f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment