diff options
author | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-10-01 18:46:29 +0300 |
---|---|---|
committer | Ville Syrjälä <ville.syrjala@linux.intel.com> | 2019-10-02 17:21:48 +0300 |
commit | 15de0889b0c905a64d6f0fbc765a25d7899a560b (patch) | |
tree | 969f36a8f05aaaf59eaa48714fcd7ea2a1a93c6b /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 74f1d78965ee16a2617d245fd1f7e40964c0d562 (diff) |
drm/i915: Polish intel_tv_mode_valid()
Drop the tv_mode NULL check since intel_tv_mode_find() never
actually returns NULL, and flip the condition around so that
the MODE_OK case is at the end, which is customary to all
the other .mode_valid() implementations.
Signed-off-by: Ville Syrjälä <ville.syrjala@linux.intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191001154629.11063-2-ville.syrjala@linux.intel.com
Reviewed-by: José Roberto de Souza <jose.souza@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions