diff options
author | David Herrmann <[email protected]> | 2013-10-20 18:55:41 +0200 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2013-11-06 14:53:23 +1000 |
commit | 4ac387f516bd3e5356cdb25266e244fa8a062281 (patch) | |
tree | f50c08aa8fdad6ff571711ba5b202ac11b5a58e3 /tools/perf/util/trace-event-scripting.c | |
parent | f73aca50b7f6e0f3e04d887f852b9f8b0e108fa7 (diff) |
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 <[email protected]>
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'tools/perf/util/trace-event-scripting.c')
0 files changed, 0 insertions, 0 deletions