diff options
author | 2014-09-17 15:11:28 -0700 | |
---|---|---|
committer | 2014-09-17 15:11:28 -0700 | |
commit | 1481473b5656d8841f63c455594f340306c22cb0 (patch) | |
tree | b721b2ad6def22494160da9ae3d68bf883d217f1 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | target: Fix memory leak on error in target_fabric_make_mappedlun (diff) | |
download | linux-dev-1481473b5656d8841f63c455594f340306c22cb0.tar.xz linux-dev-1481473b5656d8841f63c455594f340306c22cb0.zip |
target: simplify target_fabric_make_lun error path
Coverity complained that lun_cg has been dereferenced in all paths
leading to NULL check. It didn't mention that only a single path could
lead there and the code can be simplified even further.
Signed-off-by: Joern Engel <joern@logfs.org>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions