git: 1645a4ae645f - main - usb: tiny formatting nit

Warner Losh imp at FreeBSD.org
Thu Mar 11 15:24:45 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=1645a4ae645fa9b9e3571b7512caa92e73b20635

commit 1645a4ae645fa9b9e3571b7512caa92e73b20635
Author:     Warner Losh <imp at FreeBSD.org>
AuthorDate: 2021-03-11 15:23:32 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-03-11 15:24:13 +0000

    usb: tiny formatting nit
    
    Format 300 baud like all the others here. No functional change.
---
 sys/dev/usb/serial/umct.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sys/dev/usb/serial/umct.c b/sys/dev/usb/serial/umct.c
index 43f28c307f6d..dd452d38a67b 100644
--- a/sys/dev/usb/serial/umct.c
+++ b/sys/dev/usb/serial/umct.c
@@ -478,7 +478,8 @@ static uint8_t
 umct_calc_baud(uint32_t baud)
 {
 	switch (baud) {
-		case B300:return (0x1);
+	case B300:
+		return (0x1);
 	case B600:
 		return (0x2);
 	case B1200:


More information about the dev-commits-src-main mailing list