diff options
author | Jay Fang <f.fangjian@huawei.com> | 2020-09-09 08:08:24 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2020-09-09 17:27:46 +0200 |
commit | 4ebf8816e35d63db723d95f8e49d8455be926c36 (patch) | |
tree | 0388e0f72656853dd7664081b7dfde3509ff15e3 /Documentation/networking/seg6-sysctl.rst | |
parent | Merge series "spi: Adding support for Microchip Sparx5 SoC" from Lars Povlsen... (diff) | |
download | linux-4ebf8816e35d63db723d95f8e49d8455be926c36.tar.xz linux-4ebf8816e35d63db723d95f8e49d8455be926c36.zip |
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: Jay Fang <f.fangjian@huawei.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/1599631704-53232-1-git-send-email-f.fangjian@huawei.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'Documentation/networking/seg6-sysctl.rst')
0 files changed, 0 insertions, 0 deletions