/* Used to find an entry with matching Frame Number FN in the complete_request_list list.  */
static comp_req_list_entry_t* find_fn_in_list(guint32 fn)
/* Used to find an entry with matching Frame Number FN in the complete_request_list list.  */
static comp_req_list_entry_t* find_fn_in_list(guint32 fn)
{
    entry_ptr = (comp_req_list_entry_t *)element->data;
    if (entry_ptr->fn == fn) {
      return entry_ptr;
    }
    element = g_list_previous(element);
  }
  return NULL;
}