summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSergio Paracuellos <sergio.paracuellos@gmail.com>2016-11-18 18:58:08 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2016-11-19 14:24:23 +0100
commita81691d1cc2e688a1a74502796ab277403939dfe (patch)
tree2e890c4f5414c71e2c154462a1d2c1e711201141
parent95263c9556796d7c22d901066ceb3787e11dbce5 (diff)
downloadop-kernel-dev-a81691d1cc2e688a1a74502796ab277403939dfe.zip
op-kernel-dev-a81691d1cc2e688a1a74502796ab277403939dfe.tar.gz
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>
-rw-r--r--drivers/staging/slicoss/slicoss.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c
index 260aa57..289cd02 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)
OpenPOWER on IntegriCloud