Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5218423rwd; Tue, 23 May 2023 21:04:03 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7vHFeLoB+Fk10ivG5GuEy8ARmHq2FWISQ+zT3Nyzub+almHPGJwlVPgQQzCv8mOJbR7/AD X-Received: by 2002:a17:90a:440f:b0:24e:5a5a:1050 with SMTP id s15-20020a17090a440f00b0024e5a5a1050mr14843388pjg.24.1684901042624; Tue, 23 May 2023 21:04:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1684901042; cv=none; d=google.com; s=arc-20160816; b=vkJTKkjEmW2p7iQMTtQlbd1gXnlOuDqN1tS6xDXQzm6PR33r9icqQtuoDjfOy/5I5O aiUR6HWpLmm6lPFZE/STXKbq0AGvilJ7uSxA6+Y0jK3rHpDinDnRt2ymbWQk3rX6WnPG kYfUQM1oGQSOsfAJTsZCs1WQ3eyEKkPZVChsHVNJIFk846BFQ2O7i7nuCT5y+FPfqAaM iOMxIEjkfMFJtC0Wrmf97NcJOcLJtA3WfNPD+74KKFukx4JjkWgZQcui6mQFKJFd/I88 9UfIyifapPzg1XXoMlsThrIkg9XVW4bExPs/1eZzlzdC/HHQY1tKH7qorlsWL6u/3NG/ Y7SQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=56NnY1XWFQglCZDR+mXGOsAUP2AtRPFO/hDy6QbeiT0=; b=bPWSou3F7OSqf2XfRh6RQLk2qQmEu6VWP4oGDghBEWzzDaEKDFOi5G2jUMT7rXTidj gTqS340WBpC9F0N4dltXClx+YiDI79wZ4Vi7tI96K/+Pxz7i0s8y/IH8vN5X0KM91MI/ 0XrAilYvrO0GDIp1FYQpzeEbjpx2iR9vufdy4p4EuY6ChbavoLrIj5926Rq3QjVEIyH+ H66VKdzwYAKBLXZx85i6Pahw99Gl6GzWfjAt7nMZZTKe1h7OjkwCZ+/AQS65VOLJxwwV 8/yj6QFH3Q2819xJW7iUmBLvtU5YZk+u85djx6GxI3/eJFx2h5xySf8oqn7cJJHD1pOt ZOeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@usp.br header.s=usp-google header.b=pX6jYKKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=usp.br Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id i1-20020a17090a974100b0024be8553ec8si505140pjw.183.2023.05.23.21.03.48; Tue, 23 May 2023 21:04:02 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@usp.br header.s=usp-google header.b=pX6jYKKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=usp.br Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S239311AbjEXECL (ORCPT + 99 others); Wed, 24 May 2023 00:02:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59690 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S239304AbjEXEBk (ORCPT ); Wed, 24 May 2023 00:01:40 -0400 Received: from mail-oi1-x22b.google.com (mail-oi1-x22b.google.com [IPv6:2607:f8b0:4864:20::22b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 7ED421726 for ; Tue, 23 May 2023 21:01:15 -0700 (PDT) Received: by mail-oi1-x22b.google.com with SMTP id 5614622812f47-3909756b8b1so229364b6e.1 for ; Tue, 23 May 2023 21:01:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=usp.br; s=usp-google; t=1684900871; x=1687492871; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=56NnY1XWFQglCZDR+mXGOsAUP2AtRPFO/hDy6QbeiT0=; b=pX6jYKKyXPNBmGORsYEu7PRQVhYNbdpl1YaYjBy/aeSgqr0CzpvTG/pfdpAues51RH 0snUZpxxCA4USH4auk+FePnrAq1BC2hEhDUmsbzA5l28EFYqyvK3RENGsepZSOsmUDYT V5QoAO6owrK/vZvYZb6h4OL1clq6NnVyRv+90PFBRdV3sOW9Fi8Ajm71UuL7T+WU0yf8 NvN25SnWmy3T8uNCYQUy5eYaZAcZrP2Hq6cJxVQ3UitlWika8inZmZdsGojsdHnJ1m/Q 688NicqabaUMCX1uE7zknvKqXYv+ozrkD4jM8CKxPUgVYLNdIUEcfzbPOjKC1mLbkcAv /3Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684900871; x=1687492871; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=56NnY1XWFQglCZDR+mXGOsAUP2AtRPFO/hDy6QbeiT0=; b=HzoehCRO2PUfQH70XhsMFJ+fN0KD8oJ/JzeEWQod85P8GF7uiVQhDpKkn/9xnsmrL7 J4mGJWjU1NFFP/MM+1++UkIMnu03TaOhzlri+6AJIcR9Ye/Ovg88zc3TT0jNXd7K16lb hZBkALGNsny0fSUC3+pt1aXL9tEIqmG2YASm//PMhswmi4Pv5hfbDUArBJq0r4JdGJK9 Odc1UKX6iUxB77DXAmHIXcuhOPelmk+MGq/ZzlIB1Wv0c7vr5KKHXa9qfg1jNvuZk/zR WIpcMyPqut/iwbnf5kSOthyhqwMyjqNl6X6wp4+vpSfD0bVandayznuj9q9QK6p3zvrl fMGg== X-Gm-Message-State: AC+VfDxrQhY1BQlKE4zvRHkhmy8j8cp5HQk8ophaR1SZhyTg4OlGrjFc 0qB+LAVJ8aQk+JZYi5J2z6kzfA== X-Received: by 2002:a05:6808:6d0:b0:398:4385:baf4 with SMTP id m16-20020a05680806d000b003984385baf4mr1244105oih.49.1684900871125; Tue, 23 May 2023 21:01:11 -0700 (PDT) Received: from localhost.localdomain ([2804:14c:63:8ae3:4d1f:9fc2:9fe6:c88e]) by smtp.gmail.com with ESMTPSA id v203-20020acaded4000000b0038ee0c3b38esm4761418oig.44.2023.05.23.21.01.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 23 May 2023 21:01:10 -0700 (PDT) From: David Tadokoro To: gregkh@linuxfoundation.org Cc: David Tadokoro , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: [PATCH] staging: rtl8192e: Fix BRACES warning Date: Wed, 24 May 2023 01:00:51 -0300 Message-Id: <20230524040051.235250-1-davidbtadokoro@usp.br> X-Mailer: git-send-email 2.40.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Fix checkpatch warning "braces {} are not necessary for single statement blocks". Signed-off-by: David Tadokoro --- drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c index 4b0ebe96302e..ea993cbb7bf7 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_phy.c @@ -1099,9 +1099,8 @@ static bool _rtl92e_set_rf_power_state(struct net_device *dev, break; } - if (bResult) { + if (bResult) priv->rtllib->rf_power_state = rf_power_state; - } priv->set_rf_pwr_state_in_progress = false; return bResult; -- 2.40.1