diff options
| author | Yang Li <[email protected]> | 2021-03-08 14:35:30 +0800 |
|---|---|---|
| committer | Greg Kroah-Hartman <[email protected]> | 2021-03-10 09:37:18 +0100 |
| commit | 493d0856de5eb9fd040a09475ea2cb5576984a6e (patch) | |
| tree | 9fa4bc479ec91633625dd4066d713ee8b018dacf /include/uapi/linux | |
| parent | 19c234a14eafca78e0bc14ffb8be3891096ce147 (diff) | |
usb: typec: tcpm: turn tcpm_ams_finish 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/usb/typec/tcpm/tcpm.c:778:5-8: Unneeded variable: "ret".
Return "0" on line 794
Reported-by: Abaci Robot <[email protected]>
Reviewed-by: Heikki Krogerus <[email protected]>
Signed-off-by: Yang Li <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'include/uapi/linux')
0 files changed, 0 insertions, 0 deletions