diff options
| author | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2024-12-20 22:41:55 +0300 |
|---|---|---|
| committer | Michal Wajdeczko <michal.wajdeczko@intel.com> | 2025-01-19 02:11:57 +0300 |
| commit | d29cddd49bed2c880e7c17724bcf3604e865c23a (patch) | |
| tree | 0cf414b813848555584368f8e8854b160ac1e723 /tools/perf/scripts/python/exported-sql-viewer.py | |
| parent | 9cd3f4efc870463f17f6c29114c61fb6bfcaa291 (diff) | |
| download | linux-d29cddd49bed2c880e7c17724bcf3604e865c23a.tar.xz | |
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
