Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp398829pxy; Fri, 30 Apr 2021 07:46:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxumTilf2hv7GqiBhPy7gJwcRj/ED/xYeLSBloB7Xe5xbn8UaNqGqAz/hYU2WVK/K+YzE+B X-Received: by 2002:a62:bd13:0:b029:25f:cd51:7bb5 with SMTP id a19-20020a62bd130000b029025fcd517bb5mr5540439pff.74.1619794012999; Fri, 30 Apr 2021 07:46:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619794012; cv=none; d=google.com; s=arc-20160816; b=ppiXcYJXJ2mLbjfpCT7TuUzZrbSWCb4Y8JKtZDecd21uZGDDF1y1UuNWePHmOOdzAY lfhRFWmGPGMd6KVp8TNOfnlGQr2Ckic7ff/9h82acTupHV2SUUKdjnqVprldlhVmSnC6 8LNxQEGar4Uxa2RzgSd/FwMvryPhA+PgMJI27Aamiet1UHFEgHnB5HyiuhslytQKrq7q CUPvjFeEe7UA4XgLDs9+asEIBtLFG4eGz4IlqGzZnzi2s6OimzGvAuU7C1DC2l80VEXB i0lqVS0VeV826J/zJAFU0tGSleO5iKeugGtyv3lLVIjK8LiLB/wmz+jUHgEMMTCr/r12 1bAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=ACO+R08CoyLCjvDMxXLNgD1Yym9DyLgjQx6IL72eiqo=; b=edxpbs+mLX08cy1JZBNwmQn1DzHvUFNPTlPR1uz/UAMTONNzPTNsP46sSxexQAygNY 6JsA5ozTDcJTC9l+mEFzYA047kWVKexpy6+yn5SPocKlJh5weX1Uf/JhwLyovPjW1dIJ ZvWej1osOeLE3UA7IgaEDtT5GBK5XLavPJ65e4tHzmJJkfKOB+OwoRn1fg7QBuVN0Frn bAS23IYKVoNcR+CjB9N0R5DCMaIn345qQ3DlUwNFNBR9MOMWvTmaLQYrwh9ofrbIIiu1 unjwd5kEQqtu0zCoR2p04Dy77CNU/OdZd4xcyT0KSE5mm9quWAfYwal7wGlg8IlvEetS rMYg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ocEkSnt1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id 21si2411264pfp.177.2021.04.30.07.46.40; Fri, 30 Apr 2021 07:46:52 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=ocEkSnt1; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232916AbhD3OqZ (ORCPT + 99 others); Fri, 30 Apr 2021 10:46:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50742 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233620AbhD3Opm (ORCPT ); Fri, 30 Apr 2021 10:45:42 -0400 Received: from mail-ej1-x62e.google.com (mail-ej1-x62e.google.com [IPv6:2a00:1450:4864:20::62e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42806C061350 for ; Fri, 30 Apr 2021 07:44:49 -0700 (PDT) Received: by mail-ej1-x62e.google.com with SMTP id y7so6760740ejj.9 for ; Fri, 30 Apr 2021 07:44:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=ACO+R08CoyLCjvDMxXLNgD1Yym9DyLgjQx6IL72eiqo=; b=ocEkSnt1xRxERdJb6RqywUM0s63yy7RUipSN3iA3L2FpfMdusWHFh0ty839Ub5schM 1dZ7di3cFygAx/fJjCOl6Sq3ZO8qiUhNQK2yP9a7LwFRJ4Kf5Hgj9gCQbkrAKbDUZpab QgBVxZC6SnJILYVm+pluJP6VAoXQxrC37dCKiKyfYsO/b96rczLf33R0FcK+K9D8xyoO rgPxTjaTz8NEdzTEqDujbK3m5EEtjGMcRJY4qF0/XKyYsFZhOs98tBeoYdlmJT46cdzA uG7HW/E6j3v+2Bp3ZU5RxXQy9rm/s9zWJSfHr7ms3Y333uvBywiZzSXPGqtrpdLsxlD/ MT7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ACO+R08CoyLCjvDMxXLNgD1Yym9DyLgjQx6IL72eiqo=; b=WWF6uZgOuNw5D1XkYtudMmuezN7O56BzfMRosmu7sEY8eqVyi4XaR0pqe4puA1xQvy SOfnQmrWqsk3ewwUZNP2NthHr7OMuCUChkcGkJoEwVgzdhCorzz28cHNFAxsP6ODcrVq yGe/04E6a/GUxrgWY6crn/NkczAnCIwtrSsj6t3Ro32lseqq9B4zwgb39Gq4Dhd2dkNP CALc/2+m+Y9LD0+QR5MhX8fIJqxwZqmNSWK/H4AdH0Oss+ewR7KnIGg2Snqo009bM8Yg D4FnctzB/ByQ39quzAi1kedCvwykt1x3PmRtuB8xQ+I5Y1v4gLD0i20rR75KsNuPURcB ekBg== X-Gm-Message-State: AOAM533ncnYBzFY4jSYWsxpNBNaVNefR7oKpyFgdDPzyo1XCjh41+waO bX5wgDAIERY7+pGoMPq1MZTsOLSwFcE= X-Received: by 2002:a17:906:1dd3:: with SMTP id v19mr4696425ejh.4.1619793887824; Fri, 30 Apr 2021 07:44:47 -0700 (PDT) Received: from agape ([109.52.244.36]) by smtp.gmail.com with ESMTPSA id x20sm1404347edd.58.2021.04.30.07.44.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 07:44:47 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH v2 22/43] staging: rtl8723bs: remove braces around single statement in if block Date: Fri, 30 Apr 2021 16:43:52 +0200 Message-Id: X-Mailer: git-send-email 2.20.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org fix following post-commit hook checkatch issue: WARNING: braces {} are not necessary for single statement blocks 21: FILE: drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c:609: + if (!bBtHsOn) { algorithm = BT_8723B_1ANT_COEX_ALGO_PANEDR_HID; } Signed-off-by: Fabio Aiuto --- drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c index 57579d7eab71..911d753e51f6 100644 --- a/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c +++ b/drivers/staging/rtl8723bs/hal/HalBtc8723b1Ant.c @@ -606,9 +606,9 @@ static u8 halbtc8723b1ant_ActionAlgorithm(struct btc_coexist *pBtCoexist) pBtLinkInfo->bPanExist && pBtLinkInfo->bA2dpExist ) { - if (!bBtHsOn) { + if (!bBtHsOn) algorithm = BT_8723B_1ANT_COEX_ALGO_PANEDR_HID; - } + } } } -- 2.20.1