From ce627dc10def7b4d661eb8e45f30a75e02437dcc Mon Sep 17 00:00:00 2001 From: Seth Morabito Date: Sun, 17 Nov 2019 10:41:11 -0800 Subject: [PATCH] 3b2: Remove unnecessary branch condition --- 3B2/3b2_ctc.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/3B2/3b2_ctc.c b/3B2/3b2_ctc.c index 6af8c7d4..f3bf3c66 100644 --- a/3B2/3b2_ctc.c +++ b/3B2/3b2_ctc.c @@ -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. */