forked from MIrrors/gasket-driver
staging: gasket: Remove unused local variables
The variables "mapping" and "tmp" are unused in gasket_page_table_unmap_dmabuf(). Signed-off-by: Waqar Hameed <waqarh@axis.com> Change-Id: I0da67e5e91fb8c8f34b13e7227afb8410bcbc138
This commit is contained in:
committed by
Leonid Lobachev
parent
cf41759771
commit
3b6740a1d4
@@ -1263,7 +1263,6 @@ int gasket_page_table_unmap_dmabuf(struct gasket_page_table *pg_tbl, int fd,
|
||||
u64 dev_addr, uint num_pages)
|
||||
{
|
||||
struct dma_buf *dmabuf;
|
||||
struct gasket_dmabuf_mapping *mapping, *tmp;
|
||||
|
||||
dmabuf = dma_buf_get(fd);
|
||||
if (IS_ERR(dmabuf))
|
||||
|
||||
Reference in New Issue
Block a user