diff options
author | Baoyou Xie <baoyou.xie@linaro.org> | 2016-09-13 08:17:32 -0400 |
---|---|---|
committer | Ben Skeggs <bskeggs@redhat.com> | 2016-10-12 03:29:31 -0400 |
commit | 97163967acab56bff26d31914426a625e5acfa67 (patch) | |
tree | c327389b739e26c8e2d83437c7b0606a2495f92c | |
parent | 321c258e9192377cff2cb34b9d12fca0ee60b13f (diff) |
drm/nouveau/disp: remove unused function in sorg94.c
We get 1 warning when building kernel with W=1:
drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c:49:1: warning: no previous prototype for 'g94_sor_output_new' [-Wmissing-prototypes]
In fact, this function is called by no one and not exported,
so this patch removes it.
Signed-off-by: Baoyou Xie <baoyou.xie@linaro.org>
Signed-off-by: Ben Skeggs <bskeggs@redhat.com>
-rw-r--r-- | drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c b/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c index 1bb9d661e9b3..4510cb6e10a8 100644 --- a/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c +++ b/drivers/gpu/drm/nouveau/nvkm/engine/disp/sorg94.c | |||
@@ -45,14 +45,6 @@ static const struct nvkm_output_func | |||
45 | g94_sor_output_func = { | 45 | g94_sor_output_func = { |
46 | }; | 46 | }; |
47 | 47 | ||
48 | int | ||
49 | g94_sor_output_new(struct nvkm_disp *disp, int index, | ||
50 | struct dcb_output *dcbE, struct nvkm_output **poutp) | ||
51 | { | ||
52 | return nvkm_output_new_(&g94_sor_output_func, disp, | ||
53 | index, dcbE, poutp); | ||
54 | } | ||
55 | |||
56 | /******************************************************************************* | 48 | /******************************************************************************* |
57 | * DisplayPort | 49 | * DisplayPort |
58 | ******************************************************************************/ | 50 | ******************************************************************************/ |