From: Timothy Arceri Date: Fri, 18 Mar 2016 00:09:32 +0000 (+1100) Subject: mesa: remove unused function X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7794b22a84166193c59f86dc33bde95c180edee8;p=mesa.git mesa: remove unused function Reviewed-by: Matt Turner --- diff --git a/src/mesa/program/prog_parameter.h b/src/mesa/program/prog_parameter.h index c04d7a2e634..acc5b6c317b 100644 --- a/src/mesa/program/prog_parameter.h +++ b/src/mesa/program/prog_parameter.h @@ -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);