From: Alex Williamson Date: Fri, 30 May 2014 17:35:53 +0000 (-0600) Subject: vfio/pci: Fix unchecked return value X-Git-Tag: omap-for-v3.16/fixes-against-rc1~91^2~1^2~3 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=eb5685f0de4702e44a8b262f1acaea52ef99271a;p=pandora-kernel.git 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 --- Reading git-diff-tree failed