* Joerg Roedel <[EMAIL PROTECTED]> wrote:
> +static int calgary_device_supported(struct device *dev)
> +{
> + struct iommu_table *tbl;
> +
> + tbl = find_iommu_table(dev);
> +
> + return translation_enabled(tbl);
> +}
i guess this could be written as a simple:
> +static int calgary_device_supported(struct device *dev)
> +{
> + return translation_enabled(find_iommu_table(dev));
> +}
?
Ingo
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at http://vger.kernel.org/majordomo-info.html