diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-02-01 15:30:40 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-02-03 15:58:14 +0100 |
commit | 94e6a5b9e3bbb0cec6850b3662b7e3d44a008371 (patch) | |
tree | 742ec635f06b57488c49d0a163aa2c5581353d26 /drivers/misc/bcm-vk | |
parent | misc: bcm-vk: unlock on error in bcm_to_h_msg_dequeue() (diff) | |
download | linux-dev-94e6a5b9e3bbb0cec6850b3662b7e3d44a008371.tar.xz linux-dev-94e6a5b9e3bbb0cec6850b3662b7e3d44a008371.zip |
misc: rtsx: Remove unneeded return variable
This patch removes unneeded return variables, using only
'0' instead.
It fixes the following warning detected by coccinelle:
./drivers/misc/cardreader/rtsx_pcr.c:1808:5-8: Unneeded variable: "ret".
Return "0" on line 1833.
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1612164640-84541-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/misc/bcm-vk')
0 files changed, 0 insertions, 0 deletions