iommu/virtio: Fix typo in a comment
authorXiang wangx <wangxiang@cdjrlc.com>
Thu, 16 Dec 2021 08:33:02 +0000 (16:33 +0800)
committerJoerg Roedel <jroedel@suse.de>
Fri, 17 Dec 2021 08:08:20 +0000 (09:08 +0100)
The double `as' in a comment is repeated, thus it should be removed.

Signed-off-by: Xiang wangx <wangxiang@cdjrlc.com>
Link: https://lore.kernel.org/r/20211216083302.18049-1-wangxiang@cdjrlc.com
Signed-off-by: Joerg Roedel <jroedel@suse.de>
drivers/iommu/virtio-iommu.c

index 6a8a52b4297be5e8be3a206244f9ea5842bff6ce..1f793219cac6a200b63a462a2ad482cf03b978a7 100644 (file)
@@ -743,7 +743,7 @@ static int viommu_attach_dev(struct iommu_domain *domain, struct device *dev)
 
        /*
         * In the virtio-iommu device, when attaching the endpoint to a new
-        * domain, it is detached from the old one and, if as as a result the
+        * domain, it is detached from the old one and, if as a result the
         * old domain isn't attached to any endpoint, all mappings are removed
         * from the old domain and it is freed.
         *