summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/prog_instruction.c
diff options
context:
space:
mode:
authorMatt Turner <[email protected]>2014-12-08 13:44:40 -0800
committerMatt Turner <[email protected]>2014-12-08 17:02:19 -0800
commit2a0bef91cad3764bf0834ea75e57849561447330 (patch)
tree132cb9b50a578229a7a39e35aba69ee2a7c0de74 /src/mesa/program/prog_instruction.c
parent811a1836c8f37ea7adbac3a62eea4b0fef1ca3cc (diff)
program: Delete dead _mesa_realloc_instructions.
Dead since 2010 (commit 284ce209). Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/mesa/program/prog_instruction.c')
-rw-r--r--src/mesa/program/prog_instruction.c17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/mesa/program/prog_instruction.c b/src/mesa/program/prog_instruction.c
index c1b952754f1..254c0128fcd 100644
--- a/src/mesa/program/prog_instruction.c
+++ b/src/mesa/program/prog_instruction.c
@@ -75,23 +75,6 @@ _mesa_alloc_instructions(GLuint numInst)
/**
- * Reallocate memory storing an array of program instructions.
- * This is used when we need to append additional instructions onto an
- * program.
- * \param oldInst pointer to first of old/src instructions
- * \param numOldInst number of instructions at <oldInst>
- * \param numNewInst desired size of new instruction array.
- * \return pointer to start of new instruction array.
- */
-struct prog_instruction *
-_mesa_realloc_instructions(struct prog_instruction *oldInst,
- GLuint numOldInst, GLuint numNewInst)
-{
- return realloc(oldInst, numNewInst * sizeof(struct prog_instruction));
-}
-
-
-/**
* Copy an array of program instructions.
* \param dest pointer to destination.
* \param src pointer to source.