Commit fef1c0ef authored by Ben Skeggs's avatar Ben Skeggs

drm/nouveau/gr/gf100-: remove dtor

Signed-off-by: default avatarBen Skeggs <bskeggs@redhat.com>
parent 0514a6b7
...@@ -2031,8 +2031,6 @@ gf100_gr_dtor(struct nvkm_gr *base) ...@@ -2031,8 +2031,6 @@ gf100_gr_dtor(struct nvkm_gr *base)
{ {
struct gf100_gr *gr = gf100_gr(base); struct gf100_gr *gr = gf100_gr(base);
if (gr->func->dtor)
gr->func->dtor(gr);
kfree(gr->data); kfree(gr->data);
nvkm_falcon_del(&gr->gpccs.falcon); nvkm_falcon_del(&gr->gpccs.falcon);
......
...@@ -157,7 +157,6 @@ struct gf100_gr_func_zbc { ...@@ -157,7 +157,6 @@ struct gf100_gr_func_zbc {
}; };
struct gf100_gr_func { struct gf100_gr_func {
void (*dtor)(struct gf100_gr *);
void (*oneinit_tiles)(struct gf100_gr *); void (*oneinit_tiles)(struct gf100_gr *);
void (*oneinit_sm_id)(struct gf100_gr *); void (*oneinit_sm_id)(struct gf100_gr *);
int (*init)(struct gf100_gr *); int (*init)(struct gf100_gr *);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment