aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSteven Price <[email protected]>2023-10-20 11:44:05 +0100
committerSteven Price <[email protected]>2023-10-30 15:00:14 +0000
commitb2139fb5051554a7f297e4ad584ef1bc26c76d5d (patch)
tree36fb117068fff4554db142e49ddbdfdebeaed3cf /tools/perf/scripts/python/bin
parent79d94360d50fcd487edcfe118a47a2881534923f (diff)
drm/panfrost: Remove incorrect IS_ERR() check
sg_page_iter_page() doesn't return an error code, so the IS_ERR() check is wrong and the error path will never be executed. This also allows simplifying the code to remove the local variable 'page'. CC: Adrián Larumbe <[email protected]> Reported-by: Dan Carpenter <[email protected]> Closes: https://lore.kernel.org/r/[email protected] Signed-off-by: Steven Price <[email protected]> Reviewed-by: Adrián Larumbe <[email protected]> Tested-by: Adrián Larumbe <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions