mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-01-10 11:30:49 +00:00
usb: host: ehci-sched: remove useless else branch
This patch removes an useless else branch after a break, reducing one indent block. Tested by compilation only. Caught by checkpatch. Signed-off-by: Geyslan G. Bem <geyslan@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
ee90647061
commit
2fee2fed78
@ -296,10 +296,9 @@ static void compute_tt_budget(u8 budget_table[EHCI_BANDWIDTH_SIZE],
|
||||
if (x <= 125) {
|
||||
budget_line[uf] = x;
|
||||
break;
|
||||
} else {
|
||||
budget_line[uf] = 125;
|
||||
x -= 125;
|
||||
}
|
||||
budget_line[uf] = 125;
|
||||
x -= 125;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user