diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2014-12-11 03:43:05 +0900 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2015-01-10 23:57:07 +1000 |
commit | db8624d7b4d3b0926676fa43bf4f6638265670a1 (patch) | |
tree | 70e9aefdc69f5a629f213573f80e78b59519ecc9 /drm | |
parent | d23e5d3f7943eb816026f04a8b069710313522f4 (diff) | |
download | nouveau-db8624d7b4d3b0926676fa43bf4f6638265670a1.tar.gz |
drm: sgdma: remove unused nouveau_sgdma_be::dev
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>
Diffstat (limited to 'drm')
-rw-r--r-- | drm/nouveau_sgdma.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drm/nouveau_sgdma.c b/drm/nouveau_sgdma.c index 01707e7de..ec76c0b4e 100644 --- a/drm/nouveau_sgdma.c +++ b/drm/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 |