summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2019-02-09 01:06:22 +0300
committerJoerg Roedel <jroedel@suse.de>2019-02-11 14:07:06 +0300
commitf096d6657a7714e62a4799893ac9bdee75be29c8 (patch)
tree852435cf03cf221eed5a4c99cf948035705a05b2 /tools/perf/scripts/python/exported-sql-viewer.py
parent717532394c712e044195405685f62522c579e22a (diff)
downloadlinux-f096d6657a7714e62a4799893ac9bdee75be29c8.tar.xz
iommu/vt-d: Remove misleading "domain 0" test from domain_exit()
The "Domain 0 is reserved, so dont process it" comment suggests that a NULL pointer corresponds to domain 0. I don't think that's true, and in any case, every caller supplies a non-NULL domain pointer that has already been dereferenced, so the test is unnecessary. Remove the test for a null "domain" pointer. No functional change intended. This null pointer check was added by 5e98c4b1d6e8 ("Allocation and free functions of virtual machine domain"). Signed-off-by: Bjorn Helgaas <bhelgaas@google.com> Signed-off-by: Joerg Roedel <jroedel@suse.de>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions