diff options
author | Michel Thierry <michel.thierry@intel.com> | 2015-04-27 12:31:44 +0100 |
---|---|---|
committer | Daniel Vetter <daniel.vetter@ffwll.ch> | 2015-05-27 13:20:51 +0200 |
commit | d63f820f39ee7b3f8dd4ac04ff27511fbf653e9a (patch) | |
tree | ae5791f8c19352c5af599fbacc6e5b02694204f6 /tools/perf/scripts/python/syscall-counts.py | |
parent | 8d3afd7d0e666b932e6fa15901e6280fe829a786 (diff) |
drm/i915: Remove unnecessary null check in execlists_context_unqueue
commit 53292cdb066950611e5bc2e0eb109c7edb42af78 ("drm/i915: Workaround
to avoid lite restore with HEAD==TAIL") added a check for req0 != null
which is unnecessary.
The only way req0 could be null is if the list was empty, and this is
already addressed at the beginning of execlists_context_unqueue().
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Michel Thierry <michel.thierry@intel.com>
Reviewed-by: Jani Nikula <jani.nikula@intel.com>
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions