Commit 2fee2fed authored by Geyslan G. Bem's avatar Geyslan G. Bem Committed by Greg Kroah-Hartman

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: default avatarGeyslan G. Bem <geyslan@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent ee906470
...@@ -296,13 +296,12 @@ static void compute_tt_budget(u8 budget_table[EHCI_BANDWIDTH_SIZE], ...@@ -296,13 +296,12 @@ static void compute_tt_budget(u8 budget_table[EHCI_BANDWIDTH_SIZE],
if (x <= 125) { if (x <= 125) {
budget_line[uf] = x; budget_line[uf] = x;
break; break;
} else { }
budget_line[uf] = 125; budget_line[uf] = 125;
x -= 125; x -= 125;
} }
} }
} }
}
} }
static int __maybe_unused same_tt(struct usb_device *dev1, static int __maybe_unused same_tt(struct usb_device *dev1,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment