diff options
author | Ben Skeggs <bskeggs@redhat.com> | 2011-06-07 11:02:38 +1000 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2011-06-23 15:59:39 +1000 |
commit | 07533ea549e725360209f958bb916085f18ff5b9 (patch) | |
tree | 2ed2b1c9f97f7712f1edf94afcc60ef73e7d3290 /drivers/gpu/drm/nouveau/nouveau_bo.c | |
parent | d2f96666c56a501c5b74c645d81918b7805d46ce (diff) | |
download | op-kernel-dev-07533ea549e725360209f958bb916085f18ff5b9.zip op-kernel-dev-07533ea549e725360209f958bb916085f18ff5b9.tar.gz |
drm/nouveau: convert some bo.offset use to vma.offset
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nouveau_bo.c')
-rw-r--r-- | drivers/gpu/drm/nouveau/nouveau_bo.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nouveau_bo.c b/drivers/gpu/drm/nouveau/nouveau_bo.c index a049984..46c0914 100644 --- a/drivers/gpu/drm/nouveau/nouveau_bo.c +++ b/drivers/gpu/drm/nouveau/nouveau_bo.c @@ -138,8 +138,6 @@ nouveau_bo_new(struct drm_device *dev, struct nouveau_channel *chan, } nvbo->channel = NULL; - if (nvbo->vma.node) - nvbo->bo.offset = nvbo->vma.offset; *pnvbo = nvbo; return 0; } |