diff options
| author | Colin Ian King <[email protected]> | 2019-12-04 15:28:47 +0000 |
|---|---|---|
| committer | Bartlomiej Zolnierkiewicz <[email protected]> | 2020-01-15 17:31:44 +0100 |
| commit | bc5e36f3d2cef45331aed822e2c4608634df256b (patch) | |
| tree | f9314a3704099074f2d8f9aa647b3bc595657b52 /tools/perf/scripts/python/bin/stackcollapse-record | |
| parent | 52733e95f040944531b6e29544c8494f8a302ff1 (diff) | |
OMAP: DSS2: remove non-zero check on variable r
Variable r is being initialized to zero, so the check of a non-zero
rv is redundant and can be removed.
It appears that the previous case statements set r to be -EINVAL
and the "Fallthrough" comment afterwards suggested it was going
to fall through to this non-zero check but won't because of the
break statement. Remove the confusion by removing the Fallthrough
comment too.
Addresses-Coverity: ("Logically dead code")
Fixes: b39a982ddecf ("OMAP: DSS2: omapfb driver")
Signed-off-by: Colin Ian King <[email protected]>
Signed-off-by: Bartlomiej Zolnierkiewicz <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-record')
0 files changed, 0 insertions, 0 deletions