drm/nouveau/kms/nv50-: remove duplicate assignment
authorBen Skeggs <bskeggs@redhat.com>
Mon, 18 Jun 2018 07:53:12 +0000 (17:53 +1000)
committerBen Skeggs <bskeggs@redhat.com>
Mon, 16 Jul 2018 08:06:29 +0000 (18:06 +1000)
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
drivers/gpu/drm/nouveau/dispnv50/wndw.c

index c5a9bc1af5af79038d938de1f8cb3a85dc35dac8..2187922e8dc28d4d11df28bc33aec3f91281791c 100644 (file)
@@ -586,7 +586,6 @@ nv50_wndw_new_(const struct nv50_wndw_func *func, struct drm_device *dev,
        wndw->id = index;
        wndw->interlock.type = interlock_type;
        wndw->interlock.data = interlock_data;
-       wndw->ctxdma.parent = &wndw->wndw.base.user;
 
        wndw->ctxdma.parent = &wndw->wndw.base.user;
        INIT_LIST_HEAD(&wndw->ctxdma.list);