diff options
author | Christoph Hellwig <hch@lst.de> | 2017-08-25 17:12:18 +0200 |
---|---|---|
committer | Christoph Hellwig <hch@lst.de> | 2017-09-01 09:50:39 +0200 |
commit | b32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85 (patch) | |
tree | fcec7728562b58819c19540275111bdd04cdff8d /drivers/char/virtio_console.c | |
parent | of: restrict DMA configuration (diff) | |
download | linux-b32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85.tar.xz linux-b32dbc1e0bf0eaa8bdd725491b361d5fc2f57a85.zip |
dma-coherent: remove the DMA_MEMORY_INCLUDES_CHILDREN flag
This flag was never implemented or used.
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Robin Murphy <robin.murphy@arm.com>
Diffstat (limited to 'drivers/char/virtio_console.c')
-rw-r--r-- | drivers/char/virtio_console.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/char/virtio_console.c b/drivers/char/virtio_console.c index ad843eb02ae7..48e86ce9fac8 100644 --- a/drivers/char/virtio_console.c +++ b/drivers/char/virtio_console.c @@ -451,9 +451,6 @@ static struct port_buffer *alloc_buf(struct virtqueue *vq, size_t buf_size, * device is created by remoteproc, the DMA memory is * associated with the grandparent device: * vdev => rproc => platform-dev. - * The code here would have been less quirky if - * DMA_MEMORY_INCLUDES_CHILDREN had been supported - * in dma-coherent.c */ if (!vq->vdev->dev.parent || !vq->vdev->dev.parent->parent) goto free_buf; |