From 2524f9b80d5763377600e15e584152253420ad25 Mon Sep 17 00:00:00 2001 From: Ian Romanick Date: Tue, 10 Feb 2015 08:58:01 -0800 Subject: mesa/main: Silence unused parameter warning Just remove the _mesa_free_lighting_data function. The body has been empty since the shine table was moved into the tnl module (commit ba1d921). main/light.c:1216:46: warning: unused parameter 'ctx' [-Wunused-parameter] _mesa_free_lighting_data( struct gl_context *ctx ) ^ Signed-off-by: Ian Romanick Reviewed-by: Matt Turner --- src/mesa/main/light.c | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src/mesa/main/light.c') diff --git a/src/mesa/main/light.c b/src/mesa/main/light.c index b61941379f1..e483b826e91 100644 --- a/src/mesa/main/light.c +++ b/src/mesa/main/light.c @@ -1207,12 +1207,3 @@ _mesa_init_lighting( struct gl_context *ctx ) ctx->_ForceEyeCoords = GL_FALSE; ctx->_ModelViewInvScale = 1.0; } - - -/** - * Deallocate malloc'd lighting state attached to given context. - */ -void -_mesa_free_lighting_data( struct gl_context *ctx ) -{ -} -- cgit v1.2.3