Skip to content
Commit 7141790b authored by Angus Chen's avatar Angus Chen Committed by Alex Williamson
Browse files

vfio: platform: No need to check res again



In function vfio_platform_regions_init(),we did check res implied
by using while loop,
so no need to check whether res be null or not again.

No functional change intended.

Signed-off-by: default avatarAngus Chen <angus.chen@jaguarmicro.com>
Reviewed-by: default avatarEric Auger <eric.auger@redhat.com>
Link: https://lore.kernel.org/r/20230107034721.2127-1-angus.chen@jaguarmicro.com


Signed-off-by: default avatarAlex Williamson <alex.williamson@redhat.com>
parent b7f1a141
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment