bcache: remove redundant assignment to variable cur_idx