diff options
author | Dave Jiang <dave.jiang@intel.com> | 2024-01-05 15:07:53 -0700 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2024-01-05 14:36:29 -0800 |
commit | 66f11890d35a609012037cccfd9e63ed98474f99 (patch) | |
tree | 74b80084346752a1876bc1fa0c273239a38d4723 /scripts/gdb/linux/tasks.py | |
parent | 98e7ab3345e105339b7d919b4918f3c1879052ed (diff) | |
download | linux-66f11890d35a609012037cccfd9e63ed98474f99.tar.gz linux-66f11890d35a609012037cccfd9e63ed98474f99.tar.bz2 linux-66f11890d35a609012037cccfd9e63ed98474f99.zip |
cxl: Refactor to use __free() for cxl_root allocation in cxl_find_nvdimm_bridge()
Use scope-based resource management __free() macro to drop the open coded
put_device() in cxl_find_nvdimm_bridge().
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dave Jiang <dave.jiang@intel.com>
Link: https://lore.kernel.org/r/170449247353.3779673.5963704495491343135.stgit@djiang5-mobl3
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions