drm/nouveau: 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>
此提交包含在:
Alexandre Courbot
2014-12-11 03:43:05 +09:00
提交者 Ben Skeggs
父節點 ec0e55420d
當前提交 2474ae2942

查看文件

@@ -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