aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorAlex Williamson <[email protected]>2014-05-30 17:35:53 +0000
committerAlex Williamson <[email protected]>2014-05-30 17:35:53 +0000
commiteb5685f0de4702e44a8b262f1acaea52ef99271a (patch)
tree9705ff6180e6074a36150c41ce61bbc531f412f7 /tools/perf/scripts/python/net_dropmonitor.py
parentvfio/pci: Fix sizing of DPA and THP express capabilities (diff)
downloadkernel-eb5685f0de4702e44a8b262f1acaea52ef99271a.tar.gz
kernel-eb5685f0de4702e44a8b262f1acaea52ef99271a.zip
vfio/pci: Fix unchecked return value
There's nothing we can do different if pci_load_and_free_saved_state() fails, other than maybe print some log message, but the actual re-load of the state is an unnecessary step here since we've only just saved it. We can cleanup a coverity warning and eliminate the unnecessary step by freeing the state ourselves. Detected by Coverity: CID 753101 Signed-off-by: Alex Williamson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions