• A
    vfio/pci: Fix unchecked return value · eb5685f0
    Alex Williamson 提交于
    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: NAlex Williamson <alex.williamson@redhat.com>
    eb5685f0
vfio_pci.c 22.5 KB