Received: by 2002:a05:6a10:a852:0:0:0:0 with SMTP id d18csp92499pxy; Fri, 30 Apr 2021 00:48:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzXt4zbz2nwH9pAbp4YqQndvOeK4YfMsDn/HqPlH6k45zfntdqQEdMwByW+da6/rQeSvnYC X-Received: by 2002:a17:90b:8cf:: with SMTP id ds15mr4192456pjb.110.1619768891595; Fri, 30 Apr 2021 00:48:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1619768891; cv=none; d=google.com; s=arc-20160816; b=bz8G2PwFeUeIV8n8GeCtg8WvguJQSeJO5Pev15kylUv+gU+lQwxYJLg4WzwmVZQ7Fc DUCSkA8AnPMY9q8SXNlPASd/yuQ7S3RdSenYYWYQ/s9RHBlIJosb1b/YtNooluduDMKL N+snF0mkEgdKaGZaaJWd/8CGTYuV+A1VyL4U4RM9f7rTYTxgbH+Q9TWr9wnTD1ViADxr jhqntws4anau0k4uM48H8eMoe2UHG8euU1eBbKHHHxFS4VigVKpV3hKUOllkKX7zPVCL gIyEbXvv/zZ8xT5Met4HV62DSpPVKZfnKsVpmExSBx/0s0de7xThzOD2A07D3ubehFCu 6oNQ== 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=V3C7fZZSkiqqv8v8nqTvcYodup+0FlMAzko/I46jYKI3ddVORD1uRoxq17m100+bqu dznoIDBZEi6jj6F6EexyMW7qVTAeJxClPRaqlFGKoKZoC9XKJP/R7eUK1EHremUZV4UC yGsesC8WYAdCG1Hh7nrFWK1jg/iGbJcLDsLFjjLDg7i5wcRZJ8PRGNJlyo4V36T6mhTN tJV0sa+AweHY+TecDFIoHNkw1YezlnWYGgCQDn4CwAniVxwvmXw6W9a0yCr1SStr/Wrj 2lXTOrq0xkaJR9lUz9sPPhq3Vuj59XT7N2iHFYBv4U3R9ZqnBVPBPuAn4IHC1rw8PnOb xqtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=tWiDGuDb; 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 d20si2546660pls.405.2021.04.30.00.47.59; Fri, 30 Apr 2021 00:48:11 -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=tWiDGuDb; 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 S231454AbhD3HqI (ORCPT + 99 others); Fri, 30 Apr 2021 03:46:08 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42062 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231302AbhD3Hpc (ORCPT ); Fri, 30 Apr 2021 03:45:32 -0400 Received: from mail-ej1-x62f.google.com (mail-ej1-x62f.google.com [IPv6:2a00:1450:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D4C14C061342 for ; Fri, 30 Apr 2021 00:44:42 -0700 (PDT) Received: by mail-ej1-x62f.google.com with SMTP id gx5so11748299ejb.11 for ; Fri, 30 Apr 2021 00:44:42 -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=tWiDGuDbhFAKUMoViFJxdR5bHQffLCvchSsSHNdwinlbPbpv9GxoGJKcPFMqTDfuiN iB8y1T57/tbWrteViDc6MYKrD77tA+dKr4rAOQN1QuoeiIH0NzI1UJVmL7gi92cUGlRz HZmAL0DFW2KHhDThPUwMdfg1tkiapNSBceUePvo95QnF/fZQiYIKzVOq3Uj7EwaXuZct u4Z2JDg0Oji7l6MRNpmPUUX7OxGQUUEhnWktJPp4foew83aTLOi6zSy5SoCi5eKyla9l AsBw3fIUa/73FX7zMrXCZh8vRexkIPIzHnMqwgjOzwUOI/ouAV5LmtukHdiyMPmzgoXm TmCg== 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=dEGGU7N9M9Aa80t9TN8eZLO5zym1hpnyL6oL4KNOqoJhVcwpwfh/VLqRfAsiwvRh83 M9X0KLtbQNRiikfG6Jybk1tprvmny8SuCMm4UEOOAkVDzSLgcOXlS4Xrp8G73zfQ9QFB yBGDck6HxfDHhbBnOMYWRXlQJ9IY4Sj+S7g9RAttlfJSYZY9vNpE4xYTfH9ZKibr1gM6 4gpWvL7gYd6cpHu58Ukcz/Rw61CKoWn4eLcWXwZTpRxmhoqpUVnxUPy6ol6Ll6kp8GFK sJ4V8GwY9U8L2VfNSA8A6hqRatvbmHuL5MXUKaRc3ZQkYTYmCpEbFQCL5seq23hwNM4F CXDA== X-Gm-Message-State: AOAM532ARZ7op8bdOSv0xl9VGxZs77zZw+mnamTOdpMCYzPKhMOMRx+J s5us/W6jcendB2M5qmkf/hwFoXoR1Wop3w== X-Received: by 2002:a17:906:4119:: with SMTP id j25mr2776538ejk.459.1619768681466; Fri, 30 Apr 2021 00:44:41 -0700 (PDT) Received: from agape ([5.171.81.86]) by smtp.gmail.com with ESMTPSA id p4sm1449886ejr.81.2021.04.30.00.44.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 30 Apr 2021 00:44:41 -0700 (PDT) From: Fabio Aiuto To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH 22/43] staging: rtl8723bs: remove braces around single statement in if block Date: Fri, 30 Apr 2021 09:43:40 +0200 Message-Id: <67181871aa04d5aba0ec93ce4247bb181be51fd0.1619768150.git.fabioaiuto83@gmail.com> 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