Removing dead code.

`row_entries` is never used inside this function, but I doubt the compiler can optimize it out by himself, because `memory_read` calls external functions that may have side effects.