projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ec0e554
)
drm/nouveau: sgdma: remove unused nouveau_sgdma_be::dev
author
Alexandre Courbot
<acourbot@nvidia.com>
Wed, 10 Dec 2014 18:43:05 +0000
(
03:43
+0900)
committer
Ben Skeggs
<bskeggs@redhat.com>
Thu, 22 Jan 2015 02:14:55 +0000
(12:14 +1000)
nouveau_sgdma_be::dev is only set once during init and never used
anywhere, so remove it.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/nouveau_sgdma.c
patch
|
blob
|
history
diff --git
a/drivers/gpu/drm/nouveau/nouveau_sgdma.c
b/drivers/gpu/drm/nouveau/nouveau_sgdma.c
index 01707e7deaf5b55f4ff702b54329b7eb7358dd28..ec76c0b4e452302e72a970a689462fd2e215b92c 100644
(file)
--- a/
drivers/gpu/drm/nouveau/nouveau_sgdma.c
+++ b/
drivers/gpu/drm/nouveau/nouveau_sgdma.c
@@
-9,7
+9,6
@@
struct nouveau_sgdma_be {
* nouve_bo.c works properly, otherwise have to move them here
*/
struct ttm_dma_tt ttm;
- struct drm_device *dev;
struct nouveau_mem *node;
};
@@
-101,7
+100,6
@@
nouveau_sgdma_create_ttm(struct ttm_bo_device *bdev,
if (!nvbe)
return NULL;
- nvbe->dev = drm->dev;
if (drm->device.info.family < NV_DEVICE_INFO_V0_TESLA)
nvbe->ttm.ttm.func = &nv04_sgdma_backend;
else