diff options
author | 2016-07-22 17:17:48 +0200 | |
---|---|---|
committer | 2016-07-22 13:51:49 -0400 | |
commit | d9a7ed770f9d06b998172e4e71791c81476de88f (patch) | |
tree | 6d5b1f415e236ecfc8b9aa8677b396040cb62e31 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drm/etnaviv: Delete unnecessary checks before two function calls (diff) | |
download | wireguard-linux-d9a7ed770f9d06b998172e4e71791c81476de88f.tar.xz wireguard-linux-d9a7ed770f9d06b998172e4e71791c81476de88f.zip |
drm/etnaviv: Optimize error handling in etnaviv_gem_new_userptr()
Refactor this function implementation so that the
drm_gem_object_unreference_unlocked() function will only be called once
in case of a failure according to the Linux coding style recommendation
for centralized exiting of functions.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
[seanpaul tweaked subject]
Signed-off-by: Sean Paul <seanpaul@chromium.org>
Link: http://patchwork.freedesktop.org/patch/msgid/4af34ce6-62c6-7966-1ae3-0877d5ac909d@users.sourceforge.net
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions