Re: [PATCH] iommu/vt-d: unwrap __get_valid_domain_for_dev()
From: Joerg Roedel
Date: Tue May 30 2017 - 05:42:29 EST
On Mon, May 22, 2017 at 06:28:51PM +0800, Peter Xu wrote:
> We do find_domain() in __get_valid_domain_for_dev(), while we do the
> same thing in get_valid_domain_for_dev(). No need to do it twice.
>
> Signed-off-by: Peter Xu <peterx@xxxxxxxxxx>
> ---
> drivers/iommu/intel-iommu.c | 16 ++--------------
> 1 file changed, 2 insertions(+), 14 deletions(-)
Applied, thanks.