summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2020-03-12 14:32:31 +0300
committerAlex Deucher <alexander.deucher@amd.com>2020-03-13 18:52:35 +0300
commita5437e0b81a4cb65e17c5eceec75cf6b28302682 (patch)
treea25a082de79f071c819c9a90787e22eefe2537fe /tools/perf/scripts/python/export-to-postgresql.py
parent62458528b9e358e0abbed0bcffbf8e915e493388 (diff)
downloadlinux-a5437e0b81a4cb65e17c5eceec75cf6b28302682.tar.xz
drm/amd/display: clean up a condition in dmub_psr_copy_settings()
We can remove the NULL check for "res_ctx" and "res_ctx->pipe_ctx[i].stream->link". Also it's nicer to align the conditions using spaces so I re-indented a bit. Longer explanation: The "res_ctx" pointer points to an address in the middle of a struct so it can't be NULL. For "res_ctx->pipe_ctx[i].stream->link" we know that it is equal to "link" and "link" is non-NULL. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions