summaryrefslogtreecommitdiff
path: root/drm/nouveau/include
diff options
context:
space:
mode:
authorSudip Mukherjee <sudipm.mukherjee@gmail.com>2015-09-02 12:08:08 +0530
committerBen Skeggs <bskeggs@redhat.com>2015-11-03 14:57:48 +1000
commit94939f464b045993022832f1ef28435af3a0527f (patch)
treea0c5ea653770d0b530134822caff96e790203a70 /drm/nouveau/include
parent70dd0fc6c8c2d5a8e2bd34895e5ab4fb90510a37 (diff)
downloadnouveau-94939f464b045993022832f1ef28435af3a0527f.tar.gz
drm: remove unused function
coverity.com reported that memset was using a buffer of size 0, on checking the code it turned out that the function was not being used. So remove it. Signed-off-by: Sudip Mukherjee <sudip@vectorindia.org> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
Diffstat (limited to 'drm/nouveau/include')
-rw-r--r--drm/nouveau/include/nvkm/subdev/bios/pmu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/drm/nouveau/include/nvkm/subdev/bios/pmu.h b/drm/nouveau/include/nvkm/subdev/bios/pmu.h
index d606875c1..3a643df6d 100644
--- a/drm/nouveau/include/nvkm/subdev/bios/pmu.h
+++ b/drm/nouveau/include/nvkm/subdev/bios/pmu.h
@@ -4,8 +4,6 @@ struct nvbios_pmuT {
};
u32 nvbios_pmuTe(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len);
-u32 nvbios_pmuTp(struct nvkm_bios *, u8 *ver, u8 *hdr, u8 *cnt, u8 *len,
- struct nvbios_pmuT *);
struct nvbios_pmuE {
u8 type;