3b2: Remove unnecessary branch condition

This commit is contained in:
Seth Morabito 2019-11-17 10:41:11 -08:00
parent 4cbd8401f7
commit ce627dc10d

View file

@ -590,9 +590,7 @@ static void ctc_cmd(uint8 cid,
for (j = 0; j < read_bytes; j++) {
uint32 offset;
/* Drain the buffer */
if (b == 0 &&
start_byte > 0 &&
(j + start_byte) < VTOC_SECSZ) {
if (b == 0 && (j + start_byte) < VTOC_SECSZ) {
/* This is a partial read of the first block,
* continuing to read from a previous partial
* block read. */