{
        struct gsi_channel *channel = evt_ring->channel;
        struct gsi_ring *ring = &evt_ring->ring;
-       struct gsi_trans_info *trans_info;
        struct gsi_event *event_done;
        struct gsi_event *event;
-       struct gsi_trans *trans;
        u32 event_avail;
        u32 old_index;
 
-       trans_info = &channel->trans_info;
-
        /* We'll start with the oldest un-processed event.  RX channels
         * replenish receive buffers in single-TRE transactions, so we
         * can just map that event to its transaction.  Transactions
         */
        old_index = ring->index;
        event = gsi_ring_virt(ring, old_index);
-       trans = gsi_event_trans(channel->gsi, event);
-       if (!trans)
-               return;
 
        /* Compute the number of events to process before we wrap,
         * and determine when we'll be done processing events.
        event_avail = ring->count - old_index % ring->count;
        event_done = gsi_ring_virt(ring, index);
        do {
+               struct gsi_trans *trans;
+
+               trans = gsi_event_trans(channel->gsi, event);
+               if (!trans)
+                       return;
+
                trans->len = __le16_to_cpu(event->len);
 
                /* Move on to the next event and transaction */
                        event++;
                else
                        event = gsi_ring_virt(ring, 0);
-               trans = gsi_trans_pool_next(&trans_info->pool, trans);
        } while (event != event_done);
 }
 
 
 
 #define GSI_RING_ELEMENT_SIZE  16      /* bytes; must be a power of 2 */
 
-/* Return the entry that follows one provided in a transaction pool */
-void *gsi_trans_pool_next(struct gsi_trans_pool *pool, void *element);
-
 /**
  * gsi_trans_move_complete() - Mark a GSI transaction completed
  * @trans:     Transaction to commit
 
        return pool->base + offset;
 }
 
-/* Return the pool element that immediately follows the one given.
- * This only works done if elements are allocated one at a time.
- */
-void *gsi_trans_pool_next(struct gsi_trans_pool *pool, void *element)
-{
-       void *end = pool->base + pool->count * pool->size;
-
-       WARN_ON(element < pool->base);
-       WARN_ON(element >= end);
-       WARN_ON(pool->max_alloc != 1);
-
-       element += pool->size;
-
-       return element < end ? element : pool->base;
-}
-
 /* Map a given ring entry index to the transaction associated with it */
 static void gsi_channel_trans_map(struct gsi_channel *channel, u32 index,
                                  struct gsi_trans *trans)