From: Sergio Paracuellos Date: Fri, 18 Nov 2016 17:58:08 +0000 (+0100) Subject: staging: slicoss: braces should be used on all arms of this statement X-Git-Tag: v4.10-rc1~148^2~158 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a81691d1cc2e688a1a74502796ab277403939dfe;p=karo-tx-linux.git staging: slicoss: braces should be used on all arms of this statement Add braces in if statement to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 260aa57eaabc..289cd02888fd 100644 --- a/drivers/staging/slicoss/slicoss.c +++ b/drivers/staging/slicoss/slicoss.c @@ -784,9 +784,9 @@ static void slic_timer_load_check(ulong cardaddr) if ((adapter) && (adapter->state == ADAPT_UP) && (card->state == CARD_UP) && (slic_global.dynamic_intagg)) { if (adapter->devid == SLIC_1GB_DEVICE_ID) { - if (adapter->linkspeed == LINK_1000MB) + if (adapter->linkspeed == LINK_1000MB) { level = 100; - else { + } else { if (load > SLIC_LOAD_5) level = SLIC_INTAGG_5; else if (load > SLIC_LOAD_4)