diff options
author | 2013-08-15 00:02:43 +0200 | |
---|---|---|
committer | 2013-08-21 12:53:46 +1000 | |
commit | 84341c280acb8217a301344082c7ad8b9af870a6 (patch) | |
tree | a81fd041cef7ccc45cc161faa15f2564ffedc4a0 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/prime: shrink critical section protected by prime lock (diff) | |
download | linux-dev-84341c280acb8217a301344082c7ad8b9af870a6.tar.xz linux-dev-84341c280acb8217a301344082c7ad8b9af870a6.zip |
drm/prime: clarify logic a bit in drm_gem_prime_fd_to_handle
if (!ret) implies that ret == 0, so no need to clear it again. And
explicitly check for ret == 0 to indicate that we're checking an errno
integer.
Signed-off-by: Daniel Vetter <daniel.vetter@ffwll.ch>
Signed-off-by: Dave Airlie <airlied@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions