Re: [PATCH] drivers/virtio: fix repeated words in comments

From: Michael S. Tsirkin
Date: Tue Aug 16 2022 - 09:41:22 EST


On Tue, Aug 16, 2022 at 08:59:59PM +0800, Jilin Yuan wrote:
> Delete the redundant word 'the'.
>
> Signed-off-by: Jilin Yuan <yuanjilin@xxxxxxxxxx>

send this kind of thing to trivial pls.

> ---
> drivers/virtio/virtio_mmio.c | 2 +-
> drivers/virtio/virtio_pci_modern_dev.c | 2 +-
> 2 files changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/drivers/virtio/virtio_mmio.c b/drivers/virtio/virtio_mmio.c
> index f9a36bc7ac27..f638142654e6 100644
> --- a/drivers/virtio/virtio_mmio.c
> +++ b/drivers/virtio/virtio_mmio.c
> @@ -255,7 +255,7 @@ static void vm_set_status(struct virtio_device *vdev, u8 status)
>
> /*
> * Per memory-barriers.txt, wmb() is not needed to guarantee
> - * that the the cache coherent memory writes have completed
> + * that the cache coherent memory writes have completed
> * before writing to the MMIO region.
> */
> writel(status, vm_dev->base + VIRTIO_MMIO_STATUS);
> diff --git a/drivers/virtio/virtio_pci_modern_dev.c b/drivers/virtio/virtio_pci_modern_dev.c
> index a0fa14f28a7f..b790f30b2b56 100644
> --- a/drivers/virtio/virtio_pci_modern_dev.c
> +++ b/drivers/virtio/virtio_pci_modern_dev.c
> @@ -469,7 +469,7 @@ void vp_modern_set_status(struct virtio_pci_modern_device *mdev,
>
> /*
> * Per memory-barriers.txt, wmb() is not needed to guarantee
> - * that the the cache coherent memory writes have completed
> + * that the cache coherent memory writes have completed
> * before writing to the MMIO region.
> */
> vp_iowrite8(status, &cfg->device_status);
> --
> 2.36.1