diff options
author | David Herrmann <[email protected]> | 2015-05-04 16:05:14 +0200 |
---|---|---|
committer | Daniel Vetter <[email protected]> | 2015-05-05 09:46:38 +0200 |
commit | 4a324d33bfe95a279d4c7370d84087d3e773e799 (patch) | |
tree | b6df3147e68912458fc5bdbacdcdedb2f110c445 /tools/perf/scripts/python/syscall-counts.py | |
parent | 32e7b94a3fa8e137aab9f2c65dff86be73245fc8 (diff) |
drm: simplify master cleanup
In drm_master_destroy() we _free_ the master object. There is no reason to
hold any locks while dropping its static members, nor do we have to reset
it to 0.
Furthermore, kfree() already does NULL checks, so call it directly on
master->unique and drop the redundant reset-code.
Signed-off-by: David Herrmann <[email protected]>
Reviewed-by: Chris Wilson <[email protected]>
Signed-off-by: Daniel Vetter <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions