aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-10-20 18:55:41 +0200
committerDave Airlie <airlied@redhat.com>2013-11-06 14:53:23 +1000
commit4ac387f516bd3e5356cdb25266e244fa8a062281 (patch)
treef50c08aa8fdad6ff571711ba5b202ac11b5a58e3 /tools/perf/scripts/python/export-to-postgresql.py
parentdrm: call drm_unplug_minor() from drm_put_minor() (diff)
downloadlinux-dev-4ac387f516bd3e5356cdb25266e244fa8a062281.tar.xz
linux-dev-4ac387f516bd3e5356cdb25266e244fa8a062281.zip
drm: simplify drm_put_minor()
Allow passing NULL as minor to simplify DRM destruction paths. Also remove the double-pointer reset as it is no longer needed. drm_put_minor() is only called when the underlying object is destroyed. Hence, resetting minors to NULL is not necessary. As drm_put_minor() is no longer used by other DRM files, we can make it static, too. Signed-off-by: David Herrmann <dh.herrmann@gmail.com> 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