Explorar el Código

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 <sergio.paracuellos@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Sergio Paracuellos hace 8 años
padre
commit
a81691d1cc
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. 2 2
      drivers/staging/slicoss/slicoss.c

+ 2 - 2
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)