mesa: remove unused function
authorTimothy Arceri <timothy.arceri@collabora.com>
Fri, 18 Mar 2016 00:09:32 +0000 (11:09 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Fri, 18 Mar 2016 01:42:30 +0000 (12:42 +1100)
Reviewed-by: Matt Turner <mattst88@gmail.com>
src/mesa/program/prog_parameter.h

index c04d7a2e634d1d8bf60d5729fbb96c6a371ef6b8..acc5b6c317bc50b4393dc635a860bb0d8bf82d4b 100644 (file)
@@ -99,12 +99,6 @@ _mesa_new_parameter_list_sized(unsigned size);
 extern void
 _mesa_free_parameter_list(struct gl_program_parameter_list *paramList);
 
-static inline GLuint
-_mesa_num_parameters(const struct gl_program_parameter_list *list)
-{
-   return list ? list->NumParameters : 0;
-}
-
 extern void
 _mesa_reserve_parameter_storage(struct gl_program_parameter_list *paramList,
                                 unsigned reserve_slots);