diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-03-10 17:00:34 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2021-03-24 08:26:30 +0100 |
commit | f6d706dd9baaa1d7857ce5b03af491718a95e9bf (patch) | |
tree | adcb706aaaa30a0801d850584a5fdc1fe7bcd91f /ipc/shm.c | |
parent | 1c15b334ca34dd22a19e1c595908fc860523be64 (diff) |
char/mwave: turn tp3780I_Cleanup() into void function
This function always return '0' and no callers use the return value.
So make it a void function.
This eliminates the following coccicheck warning:
./drivers/char/mwave/tp3780i.c:182:5-11: Unneeded variable: "retval".
Return "0" on line 187
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Link: https://lore.kernel.org/r/1615366834-20545-1-git-send-email-yang.lee@linux.alibaba.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'ipc/shm.c')
0 files changed, 0 insertions, 0 deletions