summaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/nouveau/nvif/client.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvif/client.c')
-rw-r--r--drivers/gpu/drm/nouveau/nvif/client.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvif/client.c b/drivers/gpu/drm/nouveau/nvif/client.c
index 4a830ebf9661..64d3d0c37a83 100644
--- a/drivers/gpu/drm/nouveau/nvif/client.c
+++ b/drivers/gpu/drm/nouveau/nvif/client.c
@@ -50,7 +50,6 @@ nvif_client_fini(struct nvif_client *client)
if (client->driver) {
client->driver->fini(client->object.priv);
client->driver = NULL;
- client->object.parent = NULL;
client->object.client = NULL;
nvif_object_fini(&client->object);
}
@@ -79,7 +78,6 @@ nvif_client_init(const char *driver, const char *name, u64 device,
return ret;
client->object.client = client;
- client->object.parent = &client->object;
client->object.handle = ~0;
client->route = NVIF_IOCTL_V0_ROUTE_NVIF;
client->super = true;
OpenPOWER on IntegriCloud