diff options
author | 2016-01-18 11:36:35 +0800 | |
---|---|---|
committer | 2016-01-18 07:56:15 +0100 | |
commit | c6c5c7fa7f3ec7d35541e9e4c6feb4ccd6cca7c9 (patch) | |
tree | 0da3c118b9b8182207bf0bbb8a790b6a14f5309a /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/crtc_helper/set_config: Remove redundant NULL pointer check on set->mode (diff) | |
download | linux-dev-c6c5c7fa7f3ec7d35541e9e4c6feb4ccd6cca7c9.tar.xz linux-dev-c6c5c7fa7f3ec7d35541e9e4c6feb4ccd6cca7c9.zip |
drm/atomic-helper: Remove redundant local var old_crtc_state in disable_outputs
One of the two local variables old_crtc_state is redundantly defined in the
function disable_outputs(). It has only a scope partway through the block
for_each_connector_in_state. So, let's remove it and use the one which
has the scope within the function disable_outputs().
Signed-off-by: Liu Ying <gnuiyl@gmail.com>
Link: http://patchwork.freedesktop.org/patch/msgid/1453088195-2564-1-git-send-email-gnuiyl@gmail.com
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions