diff options
| author | Wambui Karuga <[email protected]> | 2019-10-19 10:18:40 +0300 |
|---|---|---|
| committer | Daniel Vetter <[email protected]> | 2019-10-22 11:17:43 +0200 |
| commit | ddd9b54deebba64c37d04598c98035b5da037d38 (patch) | |
| tree | 489dd4ceeefbff69efb7458a28f0fc8181fc9fcd /lib/test_fortify/write_overflow-strcpy.c | |
| parent | ec3b7b6eb8c90b52f61adff11b6db7a8db34de19 (diff) | |
drm: remove unnecessary return variable
Remove unnecessary variable `ret` in drm_dp_atomic_find_vcpi_slots()
only used to hold the function return value and have the function
return the value directly.
Issue found by coccinelle:
@@
local idexpression ret;
expression e;
@@
-ret =
+return
e;
-return ret;
Signed-off-by: Wambui Karuga <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'lib/test_fortify/write_overflow-strcpy.c')
0 files changed, 0 insertions, 0 deletions