staging: slicoss: braces should be used on all arms of this statement
authorSergio Paracuellos <sergio.paracuellos@gmail.com>
Fri, 18 Nov 2016 17:58:08 +0000 (18:58 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 19 Nov 2016 13:24:23 +0000 (14:24 +0100)
Add braces in if statement to comply with the standard
kernel coding style.

Signed-off-by: Sergio Paracuellos <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/slicoss/slicoss.c

index 260aa57eaabce238c7dfbfc9c126cf12464f63e7..289cd02888fd2eda8216f90fcfe2e14aca947de5 100644 (file)
@@ -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)