svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r17405:HEAD
[blender.git] / source / blender / src / imagepaint.c
index 6c9f5bf000184b15c8c73877b84df95e79e4c9be..d058a22a281e9ddf5dc3e2bef0b565702242bd12 100644 (file)
@@ -283,19 +283,6 @@ static ListBase undobase = {NULL, NULL};
 static UndoElem *curundo = NULL;
 static ImagePaintPartialRedraw imapaintpartial = {0, 0, 0, 0, 0};
 
-
-static int BLI_linklist_index(struct LinkNode *list, void *ptr)
-{
-       int index;
-       
-       for (index = 0; list; list= list->next, index++) {
-               if (list->link == ptr)
-                       return index;
-       }
-       
-       return -1;
-}
-
 /* UNDO */
 
 /* internal functions */