From patchwork Tue Feb 6 20:53:38 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ahmet Sezgin Duran X-Patchwork-Id: 197647 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7301:168b:b0:106:860b:bbdd with SMTP id ma11csp1817212dyb; Tue, 6 Feb 2024 12:54:15 -0800 (PST) X-Google-Smtp-Source: AGHT+IG4lbNJmAyOpZAudGsdMiEFD0aZKhkdb15AcTEx9mu9/jr838It8fqIbFmDMb0WER26LwRe X-Received: by 2002:ac8:670b:0:b0:42a:b586:ea36 with SMTP id e11-20020ac8670b000000b0042ab586ea36mr3544784qtp.59.1707252854880; Tue, 06 Feb 2024 12:54:14 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707252854; cv=pass; d=google.com; s=arc-20160816; b=oV+iJqyEofL7mO15bJnilQdAVyVOo1yonHB3dEFuHLF9bAgqHiC+1xEf65rVcHmcbU 50j/08gWA1iZXqazVPeX1gT7wltqWuMrzCGwyISZ+clQBjP9xw/rwTp5WuAKxV3OhIp+ EgGN9YOHhBag2Gp0EPWIOI1Ynh8Hb4tfeSk3tv3notroPkM/dg4atALpamMMiudd1v1n QpOgEdum/JxSJkrwBNpC2VpSgLWnFIC8D2tUCjOEem8TUljxBYkDApxiUq15uy7yueVa 2Xg7QmiNBxfVHUtNESBSyVj0sTIv2ABkLYnFuXSuUEKJ13zgrGuLPVYt82ktfM/6JrLZ V40w== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:date:cc:to:from :subject:message-id:sender:dkim-signature; bh=ZgRkIenYJFiu/zNi6m6sN/UnG3a2bdak/SFXuvfD3B4=; fh=mJi57JEGBLuBc7tysJoalD45To4UU+i/gqxtzHkPAiI=; b=zcFhJl9Y0olBTUZaletm24W7D4rqTauYAu2TxhKv0H9lXxbtXzGqh29vF4zS+aYBq8 DayB7G7oVSW0xCTv4ULFvjFHTWp9YfuKX1gTKBxczARY1GtrNaWJIT2I6HVFonyDKQAq xnj8FXTfeLJx+waoOld8yC6phaV9d4YEMdT/CdrvMDsBfGb7T4VTFjOamn5Lt5aqePhi b7XNXV/mcjPZdGAaIMeXmlN0UyMXiTd052dhWj0/v5GgLxRf1WMqlvuxVpiU42Vx16Zq A4rEbZTrhee/khlSEEhS01m1CTP5ocBKk/8oXEPkk7BF0mRvxrlNB6FU6baeof4ONs+/ nBgA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aEtomTKB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-55613-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55613-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.org.tr X-Forwarded-Encrypted: i=1; AJvYcCWQW+kpiJFKFNRj3v5NUnD431RuBqooSqDA3anuK98F6SeXzAfwFxAwWatYFgQ6ippqtvRidwdaqcViUKOet13GENo+pA== Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [147.75.199.223]) by mx.google.com with ESMTPS id f22-20020a05622a105600b0042c26e5e347si3178953qte.253.2024.02.06.12.54.14 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 12:54:14 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-55613-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20230601 header.b=aEtomTKB; arc=pass (i=1 spf=pass spfdomain=gmail.com dkim=pass dkdomain=gmail.com); spf=pass (google.com: domain of linux-kernel+bounces-55613-ouuuleilei=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-55613-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linux.org.tr Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id 99B9E1C24276 for ; Tue, 6 Feb 2024 20:54:14 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 372541B950; Tue, 6 Feb 2024 20:54:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="aEtomTKB" Received: from mail-lj1-f173.google.com (mail-lj1-f173.google.com [209.85.208.173]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 8AE7E1B940 for ; Tue, 6 Feb 2024 20:54:00 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.208.173 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707252842; cv=none; b=Js+xIbRUidqdM8QM/UTAPguPl2tizMXpOqXWCoY4V0R9ULFTifSqX768BW8/MmRVxaOAluWTm3SEGuELs2NwO1RIS5m6npg9AAecjpa1l1QlwdRgQRxnOIWibxkhu4sCabJGkCirRoT5pP6l6tUfb5UvgzmqpUyRafklMWCB4pA= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707252842; c=relaxed/simple; bh=rCoI0IEgASsZwX3GEF3GMgFm8erAoLhV/zT5w1y+gP4=; h=Message-ID:Subject:From:To:Cc:Date:Content-Type:MIME-Version; b=B5gG3Pn+cVxGHWVpubUhENo365n/7uDzbkwiOu51msJj4FJKMNv+q4+xxn3gefKhFQK5psEpXqUVVSwMh6GXlsOiSRDWVoVQ37QpnGoA7sMU7uMpHgrOdd9U4e/bHLo60EElJ4l3H68G4hWGEC+lDbt2zvmBjRN25Kc/Ov7jwv4= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.org.tr; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=aEtomTKB; arc=none smtp.client-ip=209.85.208.173 Authentication-Results: smtp.subspace.kernel.org; dmarc=fail (p=none dis=none) header.from=linux.org.tr Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Received: by mail-lj1-f173.google.com with SMTP id 38308e7fff4ca-2d0bc402c8eso10585481fa.1 for ; Tue, 06 Feb 2024 12:54:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1707252838; x=1707857638; darn=vger.kernel.org; h=mime-version:user-agent:content-transfer-encoding:autocrypt:date:cc :to:from:subject:message-id:sender:from:to:cc:subject:date :message-id:reply-to; bh=ZgRkIenYJFiu/zNi6m6sN/UnG3a2bdak/SFXuvfD3B4=; b=aEtomTKB3BsiB9R+SYEpDehspPDs37GxN5pVlpLLNik2c2W8dFsLH5zjSD6Jkr3Y0/ mdTj5e6tFqRc2XDLrHqr7xLb7M0sRFRDF81Qbl1Co/4CWhulHUQVknfKE7rH1Ahd9Czc IgPmQenuiZI17gv2xDAG7nd3VNs4/RBciFeRTcslFori2ZiHG9g+02Bp3dNlcIIZPj9r LnkQdBRQYxmW3jV9TUlVmdb2vZqrG0VjWABO460/cjrIZbPZ4q8+je8mhjlZQtjUVGZJ RSBbhlUu2tVkGNoBq3tn2fYssYcsVLrWo0UQlsHhfIU6QdlYPSS709SAG6xRh/WKPSez 8nSw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1707252838; x=1707857638; h=mime-version:user-agent:content-transfer-encoding:autocrypt:date:cc :to:from:subject:message-id:sender:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=ZgRkIenYJFiu/zNi6m6sN/UnG3a2bdak/SFXuvfD3B4=; b=FfjMiZkww7ECXJEHV8C/42KGd3A2Kf2uxTiOvzzYsbYLN+mIWW4Q0rbu9a2B0XY2D6 sXKdQ9QxgWp750JummrX+QAkDoQsBOh6BCxZVSAy9DDhMTo7JRP7wpGYpM8s9B8R8djE khzy695Ss7/oHQU6SH8IB7ihzQUFKls2YnJE7BwUBj6o/W+4JKvyQGh8vOetV7Q6bOLK X78W5ckhXlRToL3bl1Py3tPmNKc1Vj8j6Y9qr4T9IoprrrJeQNd3fS1l0bz+dyxi1HYR rKb1lR469JflTbze1YiAjnUH2fCFWgNckwx0FNi6o7+wjRVS0sYHXiYv6y3eRafueNBY 2dYg== X-Gm-Message-State: AOJu0Yzyk2rb5bE8JNlQh6I1gKacnkGcymC0V4YTGwsKBdo9k8ATTQSC wR6xHrrLQ1R9MIQBXcX2orEWaBgJzpFRDvtOjrMPfg9XjgKINsv9 X-Received: by 2002:a2e:3509:0:b0:2d0:8294:27c7 with SMTP id z9-20020a2e3509000000b002d0829427c7mr1213473ljz.1.1707252838316; Tue, 06 Feb 2024 12:53:58 -0800 (PST) X-Forwarded-Encrypted: i=0; AJvYcCXYC8FI8v9jOw/uW57rIxrpBxAcBzl3PyzgMUeLh2exrk7f6XtVC0Zccni1u2zfamIJg0PNpmnt+w+LHaWqNu5oUKX0Z1b7fs2qETk7 Received: from [172.27.234.83] ([194.182.161.117]) by smtp.gmail.com with ESMTPSA id 5-20020a05651c00c500b002d0a10d7618sm374112ljr.75.2024.02.06.12.53.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Feb 2024 12:53:58 -0800 (PST) Sender: Ahmet Sezgin Duran Message-ID: Subject: [PATCH] staging: rtl8192e: remove redundant braces from single line if-else blocks From: Ahmet Sezgin Duran To: gregkh@linuxfoundation.org Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Date: Tue, 06 Feb 2024 23:53:38 +0300 Autocrypt: addr=sezgin.duran@linux.org.tr; prefer-encrypt=mutual; keydata=mQINBGOrInABEACu7yscz4VnzHiFxkokQr/3I8dGSJNwCezSCyQWRQWZC7uBTHjLtECKVespRPFF+U4FC9PkjWsTf3MwlcgqgcD5RXD4y/JDaHdxUFukSg+gpMxV+DrVGaQQKEx3ny8Kp0OGbNDGL5E8v2bOM2UCKDheBIC7/DJEBMSawHkMHby9j6WZDpwW2JFCbCbJAl3cPfA54ke38jNGrANKTfPeGkml5Xzah8uLiNC9Xxt2qpsV5+CT6CjnWWYDU+KxGLc4ETTPl2iDdChBBB6RAvPa+Qku+zZPvS+b9V+luOnT1aiUCSpF/CENoSgfJB2PH1Y1HjHiXMjXLpo5T+phe1pslIrEmUIEjJ0BcJhzA8ytrOifhIzho7qO+gQSIFB+a74WLgMH7u9KoSyKvOD36rg8C3i9HFZALej2mDOqtQTwDIaJyM89X6K7b7veOwjBy3igqykfeQ6R5gzfI87pMtBiyz+aCbu/DjULmGRbwJJZ06bPL9XjNigQEWFZzBWB9nPt75J675JMszHMo1JmBPa4XuO2rNtrXaO00cxPznjuRSPWjMbx8XgNXVSO5QiGwSQEV76iWdzoiS3zgAL51tzZjCX00UVxD9uaHCv+85HuAocjulpZVgyTm2Pt/rSzE9eparQ0Ijx4nwBZdpZg+oIpQHuQ0cOl0DxqlJs8qYcXsjCuQQARAQABtC5BaG1ldCBTZXpnaW4gRHVyYW4gPHNlemdpbi5kdXJhbkBsaW51eC5vcmcudHI+iQJOBBMBCAA4AhsDAheAFiEEnm0RpBDOXPRjeFQeA8hM05xpM6wFAmOrI20FCwkIBwMFFQoJCAsFFgIDAQACHgUACgkQA8hM05xpM6wYxA//VAr7YEEputCZqh1R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RdiA84E20pJl+E9X21cUOtI1+hIUo/fg+5+DBQ0w+AGj4= User-Agent: Evolution 3.50.3 (3.50.3-1.fc39) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1790184369901965648 X-GMAIL-MSGID: 1790184369901965648 From de5c5bb23c77fe62987b446c740b971e85105526 Mon Sep 17 00:00:00 2001 From: Ahmet Sezgin Duran Date: Tue, 6 Feb 2024 22:28:55 +0300 Subject: [PATCH] staging: rtl8192e: remove redundant braces from single line if-else blocks This commit cleans up redundant braces from single line if-else blocks for improved readability. Signed-off-by: Ahmet Sezgin Duran --- drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c | 5 ++--- drivers/staging/rtl8192e/rtl819x_HTProc.c | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c index 9b9d95ba06df..080fe9c4585e 100644 --- a/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c +++ b/drivers/staging/rtl8192e/rtl8192e/r8192E_dev.c @@ -693,11 +693,10 @@ void rtl92e_link_change(struct net_device *dev) u32 reg; reg = rtl92e_readl(dev, RCR); - if (priv->rtllib->link_state == MAC80211_LINKED) { + if (priv->rtllib->link_state == MAC80211_LINKED) priv->receive_config = reg |= RCR_CBSSID; - } else { + else priv->receive_config = reg &= ~RCR_CBSSID; - } rtl92e_writel(dev, RCR, reg); } diff --git a/drivers/staging/rtl8192e/rtl819x_HTProc.c b/drivers/staging/rtl8192e/rtl819x_HTProc.c index 6d0912f90198..49b882c363bf 100644 --- a/drivers/staging/rtl8192e/rtl819x_HTProc.c +++ b/drivers/staging/rtl8192e/rtl819x_HTProc.c @@ -480,9 +480,9 @@ void ht_on_assoc_rsp(struct rtllib_device *ieee) } ht_info->current_mpdu_density = pPeerHTCap->MPDUDensity; - if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K) { + if (ht_info->iot_action & HT_IOT_ACT_TX_USE_AMSDU_8K) ht_info->current_ampdu_enable = false; - } + ht_info->cur_rx_reorder_enable = 1; if (pPeerHTCap->MCS[0] == 0)