Home Home > GIT Browse > openSUSE-15.1
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zimmermann <tzimmermann@suse.de>2019-01-10 15:55:07 +0100
committerThomas Zimmermann <tzimmermann@suse.de>2019-01-11 13:41:54 +0100
commit3e72d1d3ad32632d5dbe97f838ebac5a5e6e1299 (patch)
tree5ddcdfbe22df7595fae39c806ac3259a7a82eed7
parente8e0a12ae4ba3c10712d1695a55fb6ef5a64ecf6 (diff)
dma-buf: Remove requirement for ops->map() from dma_buf_export (bsc#1113956)
-rw-r--r--drivers/dma-buf/dma-buf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/dma-buf/dma-buf.c b/drivers/dma-buf/dma-buf.c
index e1ce5ded28e4..52e36c369fea 100644
--- a/drivers/dma-buf/dma-buf.c
+++ b/drivers/dma-buf/dma-buf.c
@@ -406,7 +406,6 @@ struct dma_buf *dma_buf_export(const struct dma_buf_export_info *exp_info)
|| !exp_info->ops->unmap_dma_buf
|| !exp_info->ops->release
|| !exp_info->ops->map_atomic
- || !exp_info->ops->map
|| !exp_info->ops->mmap)) {
return ERR_PTR(-EINVAL);
}