3b2: Remove unnecessary branch condition
This commit is contained in:
parent
4cbd8401f7
commit
ce627dc10d
1 changed files with 1 additions and 3 deletions
|
@ -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. */
|
||||||
|
|
Loading…
Add table
Reference in a new issue