On Thu, Dec 03, 2020 at 02:25:20PM +0000, Paul Durrant wrote:
> From: Paul Durrant <pdurr...@amazon.com>
> 
> The code currently checks explicitly whether the device is already assigned,
> but this is actually unnecessary as assigned devices do not form part of
> the list returned by libxl_device_pci_assignable_list() and hence the
> libxl_pci_assignable() test would have already failed.
> 
> Signed-off-by: Paul Durrant <pdurr...@amazon.com>
> Reviewed-by: Oleksandr Andrushchenko <oleksandr_andrushche...@epam.com>

Acked-by: Wei Liu <w...@xen.org>

Reply via email to