diff options
| author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2024-12-20 20:41:55 +0100 |
|---|---|---|
| committer | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2025-01-19 00:11:57 +0100 |
| commit | d29cddd49bed2c880e7c17724bcf3604e865c23a (patch) | |
| tree | 0cf414b813848555584368f8e8854b160ac1e723 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | drm/xe/sa: Always call drm_suballoc_manager_fini() (diff) | |
| download | linux-d29cddd49bed2c880e7c17724bcf3604e865c23a.tar.gz linux-d29cddd49bed2c880e7c17724bcf3604e865c23a.zip | |
drm/xe/sa: Drop redundant NULL assignments
The sa_manager is drmm_kzalloc'ed so all members are already zero.
And in case of kvzalloc() failure we are not returning pointer to
the sa_manager at all, so no point in resetting .bo member.
Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com>
Cc: Matthew Brost <matthew.brost@intel.com>
Reviewed-by: Matthew Brost <matthew.brost@intel.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20241220194205.995-3-michal.wajdeczko@intel.com
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions
