From: Peng Li Date: Fri, 21 May 2021 01:08:16 +0000 (+0800) Subject: net: wan: add braces {} to all arms of the statement X-Git-Tag: accepted/tizen/unified/20230118.172025~6942^2~482^2~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1bf705d4f2316ec213ada3119bc6cb352f43de64;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Guangbin Huang Signed-off-by: David S. Miller --- diff --git a/drivers/net/wan/hd64572.c b/drivers/net/wan/hd64572.c index 34acea9..7fccf23 100644 --- a/drivers/net/wan/hd64572.c +++ b/drivers/net/wan/hd64572.c @@ -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 {