Removed the useless find_ri_index() function.
Authored by: bugman 2011-03-01
Parent: [r12662]
Child: [r12664]