mirror of
https://github.com/torvalds/linux.git
synced 2026-01-25 15:03:52 +08:00
net: wan: add braces {} to all arms of the statement
Braces {} should be used on all arms of this statement.
Signed-off-by: Peng Li <lipeng321@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
@@ -374,8 +374,9 @@ static void sca_set_port(port_t *port)
|
||||
tmc = 1;
|
||||
br = 0; /* For baud=CLOCK_BASE we use tmc=1 br=0 */
|
||||
brv = 1;
|
||||
} else if (tmc > 255)
|
||||
} else if (tmc > 255) {
|
||||
tmc = 256; /* tmc=0 means 256 - low baud rates */
|
||||
}
|
||||
|
||||
port->settings.clock_rate = CLOCK_BASE / brv / tmc;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user