Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754081AbcKRR6J (ORCPT ); Fri, 18 Nov 2016 12:58:09 -0500 Received: from mail-wm0-f68.google.com ([74.125.82.68]:33017 "EHLO mail-wm0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753839AbcKRR5b (ORCPT ); Fri, 18 Nov 2016 12:57:31 -0500 From: Sergio Paracuellos To: gregkh@linuxfoundation.org Cc: devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, liodot@gmail.com, charrer@alacritech.com Subject: [PATCH 4/6] staging: slicoss: braces should be used on all arms of this statement Date: Fri, 18 Nov 2016 18:58:08 +0100 Message-Id: <1479491890-10380-5-git-send-email-sergio.paracuellos@gmail.com> X-Mailer: git-send-email 1.9.1 In-Reply-To: <1479491890-10380-1-git-send-email-sergio.paracuellos@gmail.com> References: <1479491890-10380-1-git-send-email-sergio.paracuellos@gmail.com> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 899 Lines: 26 Add braces in if statement to comply with the standard kernel coding style. Signed-off-by: Sergio Paracuellos --- drivers/staging/slicoss/slicoss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/slicoss/slicoss.c b/drivers/staging/slicoss/slicoss.c index 4ea5df6..be62256 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) -- 1.9.1