factored out the redundant sdio_xfer_end variable.