commit | eb5685f0de4702e44a8b262f1acaea52ef99271a | [log] [tgz] |
---|---|---|
author | Alex Williamson <alex.williamson@redhat.com> | Fri May 30 11:35:53 2014 -0600 |
committer | Alex Williamson <alex.williamson@redhat.com> | Fri May 30 11:35:53 2014 -0600 |
tree | 9705ff6180e6074a36150c41ce61bbc531f412f7 | |
parent | afa63252b2ab85614929405971105c3b20d675ba [diff] |
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 <alex.williamson@redhat.com>