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/
This commit is contained in:

committed by
Christian König

parent
2227a7a219
commit
a19741e5e5
@@ -40,7 +40,6 @@
|
||||
*/
|
||||
|
||||
static int vmw_prime_map_attach(struct dma_buf *dma_buf,
|
||||
struct device *target_dev,
|
||||
struct dma_buf_attachment *attach)
|
||||
{
|
||||
return -ENOSYS;
|
||||
|
Reference in New Issue
Block a user