aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/timerlist.py
diff options
context:
space:
mode:
authorShenming Lu <[email protected]>2021-04-06 21:50:09 +0800
committerAlex Williamson <[email protected]>2021-04-06 11:53:50 -0600
commita536019d3e7d85a901c5e6a2f2894c0aa0acaefa (patch)
treee21b64a737f4bc78f4c1d9ecbc70297aded779b6 /scripts/gdb/linux/timerlist.py
parentf5c858ec2b1d2a2656d78a5efe37cfcf568fce31 (diff)
vfio/type1: Remove the almost unused check in vfio_iommu_type1_unpin_pages
The check i > npage at the end of vfio_iommu_type1_unpin_pages is unused unless npage < 0, but if npage < 0, this function will return npage, which should return -EINVAL instead. So let's just check the parameter npage at the start of the function. By the way, replace unpin_exit with break. Signed-off-by: Shenming Lu <[email protected]> Message-Id: <[email protected]> Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/timerlist.py')
0 files changed, 0 insertions, 0 deletions