aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/udl
diff options
context:
space:
mode:
authorChristian König <christian.koenig@amd.com>2018-05-28 11:47:52 +0200
committerChristian König <easy2remember.chk@googlemail.com>2018-06-20 15:59:34 +0200
commita19741e5e5a9f1f02f8e3c037bde7d73d4bfae9c (patch)
treed8bb44f202176642279338f7815a251bb44d6d33 /drivers/gpu/drm/udl
parentdrm/vc4: Always obey implicit sync (diff)
downloadlinux-dev-a19741e5e5a9f1f02f8e3c037bde7d73d4bfae9c.tar.xz
linux-dev-a19741e5e5a9f1f02f8e3c037bde7d73d4bfae9c.zip
dma_buf: remove device parameter from attach callback v2
The device parameter is completely unused because it is available in the attachment structure as well. v2: fix kerneldoc as well Signed-off-by: Christian König <christian.koenig@amd.com> Reviewed-by: Daniel Vetter <daniel.vetter@ffwll.ch> Link: https://patchwork.freedesktop.org/patch/226643/
Diffstat (limited to 'drivers/gpu/drm/udl')
-rw-r--r--drivers/gpu/drm/udl/udl_dmabuf.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/gpu/drm/udl/udl_dmabuf.c b/drivers/gpu/drm/udl/udl_dmabuf.c
index 0a20695eb120..91ae60309d3e 100644
--- a/drivers/gpu/drm/udl/udl_dmabuf.c
+++ b/drivers/gpu/drm/udl/udl_dmabuf.c
@@ -29,7 +29,6 @@ struct udl_drm_dmabuf_attachment {
};
static int udl_attach_dma_buf(struct dma_buf *dmabuf,
- struct device *dev,
struct dma_buf_attachment *attach)
{
struct udl_drm_dmabuf_attachment *udl_attach;