Delete unused code from prefix delete_recursive.

10 jobs for noc-1047 in 14 minutes and 3 seconds (queued for 1 second)