bus/fslmc: do not needlessly check for IOVA mode
authorAnatoly Burakov <anatoly.burakov@intel.com>
Wed, 4 Apr 2018 14:40:46 +0000 (15:40 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Wed, 11 Apr 2018 00:18:03 +0000 (02:18 +0200)
commit634d549c9c34385b86b1ca4d422adcc20c696517
tree560155f31a2cd40d77679bbf1f07aac2bd0bf0f9
parent048303b6f3fdfb5ce863e293f6b3dfabc0a0a2db
bus/fslmc: do not needlessly check for IOVA mode

We already set IOVA addresses of memsegs and memzones to VA
address during initialization, so we don't need to check
whether we're in RTE_IOVA_VA mode anywhere else.

Cc: stable@dpdk.org
Signed-off-by: Anatoly Burakov <anatoly.burakov@intel.com>
Acked-by: Hemant Agrawal <hemant.agrawal@nxp.com>
Acked-by: Santosh Shukla <santosh.shukla@caviumnetworks.com>
drivers/bus/fslmc/fslmc_vfio.c