diff options
author | wengjianfeng <wengjianfeng@yulong.com> | 2021-02-08 10:17:32 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-02-08 14:56:20 -0800 |
commit | 796c9015ab8d41a66e35fb45c61c60676fc7dc41 (patch) | |
tree | 826f440c41cf7508fa6232baeac57cc0e9d0def7 /init | |
parent | c85b3bb7b650c52365f12eb51c8b42e31828c647 (diff) | |
download | linux-stable-796c9015ab8d41a66e35fb45c61c60676fc7dc41.tar.gz linux-stable-796c9015ab8d41a66e35fb45c61c60676fc7dc41.tar.bz2 linux-stable-796c9015ab8d41a66e35fb45c61c60676fc7dc41.zip |
nfc: st-nci: Remove unnecessary variable
The variable r is defined at the beginning and initialized
to 0 until the function returns r, and the variable r is
not reassigned.Therefore, we do not need to define the
variable r, just return 0 directly at the end of the function.
Signed-off-by: wengjianfeng <wengjianfeng@yulong.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions