1
0
mirror of https://github.com/simh/simh.git synced 2026-04-17 00:36:00 +00:00

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++) { for (j = 0; j < read_bytes; j++) {
uint32 offset; uint32 offset;
/* Drain the buffer */ /* Drain the buffer */
if (b == 0 && if (b == 0 && (j + start_byte) < VTOC_SECSZ) {
start_byte > 0 &&
(j + start_byte) < VTOC_SECSZ) {
/* This is a partial read of the first block, /* This is a partial read of the first block,
* continuing to read from a previous partial * continuing to read from a previous partial
* block read. */ * block read. */