diff options
author | Alexandre Courbot <acourbot@nvidia.com> | 2016-10-27 12:48:51 +0900 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-11-07 14:04:38 +1000 |
commit | ed7acfae2a8f21f86454466568cacbd84d2d04cf (patch) | |
tree | 6406ab4b9b8935bc2344bf458b9075fc9e86f9b4 /drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h | |
parent | 8423d75d8f15b8eba52f064707ee7892fba77837 (diff) | |
download | linux-stable-ed7acfae2a8f21f86454466568cacbd84d2d04cf.tar.gz |
drm/nouveau/pmu: remove reset() hook
The reset hook of pmu_func is never called, and gt215 was the only chip
to implement. Remove this dead code.
Signed-off-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h')
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h b/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h index f38c88fae3d6..73b811ccc2d5 100644 --- a/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h +++ b/drivers/gpu/drm/nouveau/nvkm/subdev/pmu/priv.h @@ -8,8 +8,6 @@ int nvkm_pmu_new_(const struct nvkm_pmu_func *, struct nvkm_device *, int index, struct nvkm_pmu **); struct nvkm_pmu_func { - void (*reset)(struct nvkm_pmu *); - struct { u32 *data; u32 size; |