From patchwork Mon Jun 19 15:09:49 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michael Straube X-Patchwork-Id: 10988 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp3074228vqr; Mon, 19 Jun 2023 08:14:43 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ4NLTapdNJ5l+gb8R5IcPBcHiWnLT+h/5BtGR65iLlyGDnowvlBysKxEKXNWQANmm5v9HPX X-Received: by 2002:a05:6a20:5496:b0:121:a6b2:2f10 with SMTP id i22-20020a056a20549600b00121a6b22f10mr4546457pzk.49.1687187683485; Mon, 19 Jun 2023 08:14:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687187683; cv=none; d=google.com; s=arc-20160816; b=HM2duBdVTkRSjxTUcxE9sdAcOEE1/jp0Gx0dwRFOxa49W56UBrWeuG7Q4Pdy5yD5Em /7ArL3C2RaOaC820AxSm5bBEohC1pLUXR95O30h4hvEbm+0L4MjgJBj+PlWVpFWxpE2D 7zGE71/Batwn1cDcZX6uaxnXdgOGpN7zc+czXqDEogFHVS9uPRNn2Y0sipQM8bbBSo63 dBPBpMQsOq7uc3tQ+RHp/JFdAat5Ws89lLmj5ThE8bL+0pTvKicmuBOG0ukPRLOyjtQZ jorDcOcdhzioC+raCgsuKopOTUuDiiGxhFsUw2C6wH3hFQgX2feEc6yzKmSIhOut+P7U /+hw== 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=TD4KyJwmLcyQbc53eDQ3FoSu3CT+Si3hOoe+8Vx8cGw=; b=eG/0JPm/9lYutAs4IMaYpSN9h4MCp5JHzxD7qtK8mdYtkrBA/EP0Jw3u9t0CGCYiIa I+OYpf16f4nuoOvZE174rl7STR+l0vV2b2Pg0ZQQBuSY5EgTFeKjq8qhAiDF4LAeQL2N pCLBu/2nWymodOL6vilaG9J1tv6JnN/fd/7AHuSKl2mkMKdFv5CPhgnIuxMubKUUVqDm NDrcIS04PPebedODdCGJzCKTWMHQXizWGnNsngdDih8JLoVYBg973Gy4/M1yjV3pfe6Q zk6k0PXzNTTbrXuOqyNP8qKDoYy6yCzCmkOdUTj9qcepkVbhoJRR01MbzFGm/1wJCVtH SJ9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=E2uiSvQQ; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id x25-20020aa78f19000000b0065b4e2b52c6si5542694pfr.341.2023.06.19.08.14.30; Mon, 19 Jun 2023 08:14:43 -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=@gmail.com header.s=20221208 header.b=E2uiSvQQ; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229660AbjFSPKR (ORCPT + 99 others); Mon, 19 Jun 2023 11:10:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58988 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229609AbjFSPKG (ORCPT ); Mon, 19 Jun 2023 11:10:06 -0400 Received: from mail-ed1-x52e.google.com (mail-ed1-x52e.google.com [IPv6:2a00:1450:4864:20::52e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A663DE68 for ; Mon, 19 Jun 2023 08:10:04 -0700 (PDT) Received: by mail-ed1-x52e.google.com with SMTP id 4fb4d7f45d1cf-51a324beca6so4957038a12.1 for ; Mon, 19 Jun 2023 08:10:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1687187403; x=1689779403; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=TD4KyJwmLcyQbc53eDQ3FoSu3CT+Si3hOoe+8Vx8cGw=; b=E2uiSvQQAPNHpBZb32RR72MmOJ6cKYumOcMuiSSVUg0phsA8mhm1pa9jSx9Hym4aqc dYzd61eMBJQA14d9tlDoucGBDk8f5JwGn7ZskCn1AY+nb3hqjXYfZJsXLpA3ma4eALcP zD0lPTGeG1jvkMjNMeZUhcKupkB/HcEvIuYQtas3WzWqjbJjE+Hx61XlalfQmc94ADnv 1fobQVhO4TqzYCffSHQepxZGsOhCqqnAGYWcHv+UvaGIVh7cfNLduTLysoqLDecCtXvS hbe+Jbc3XsqZAIm/xhxmnQAkFU7KFxpm0iMktt20glCsN7BbGKwApP7mlH2DJ/zQcl4S JbgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687187403; x=1689779403; 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=TD4KyJwmLcyQbc53eDQ3FoSu3CT+Si3hOoe+8Vx8cGw=; b=KPKEZWdNDzRR/0sDICoBKIjGLo0f4Ihbmn/s6izVfZXiVw92zh6ipfEsrkRX2GOGuM MyDQ0yBsj2sktbSmXURbok/0i99gu6Jm25aGrz6Qq1DDK33SMHswvY0jsDxn703bOyqv vCzG7/FPchJ9+HQTyyszx5OsR0aZzMG89S4hK8oHHxq9/VJf9bjfXYN/DS7kevrjMpOs PGqWRj7wAzRkFbmm9fu2OiosgoKJXgMenXpBna5ZaJSUSywxNgAKXh5GB/MoIl+E3NMk 7k3Sl5hkz35JH8Haq+nYmIP3H8HU5/4y9NP1Ym1+Olwv3RjvpBxP+t7r6q0kAUpv1Uz7 0I4Q== X-Gm-Message-State: AC+VfDz7T06222D+z4q9Npbi0qfsFI50W/prV4mIfLx635S1QdCjmgPh N5+y2ThvxOeJq8oYcUbrCuT9joHFpmo= X-Received: by 2002:a50:ed83:0:b0:51a:2c69:5c74 with SMTP id h3-20020a50ed83000000b0051a2c695c74mr7097975edr.37.1687187402901; Mon, 19 Jun 2023 08:10:02 -0700 (PDT) Received: from localhost.localdomain (ip5f5abbd5.dynamic.kabel-deutschland.de. [95.90.187.213]) by smtp.gmail.com with ESMTPSA id p6-20020a056402044600b0050488d1d376sm13297186edw.0.2023.06.19.08.10.02 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 19 Jun 2023 08:10:02 -0700 (PDT) From: Michael Straube To: gregkh@linuxfoundation.org Cc: philipp.g.hortmann@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, Michael Straube Subject: [PATCH 0/4] staging: rtl8192e: some simple cleanups Date: Mon, 19 Jun 2023 17:09:49 +0200 Message-ID: <20230619150953.22484-1-straube.linux@gmail.com> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, 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 X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1769144512411632067?= X-GMAIL-MSGID: =?utf-8?q?1769144512411632067?= Four patches with simple coding style cleanups. Michael Straube (4): staging: rtl8192e: clean up brace coding style issues staging: rtl8192e: convert else if sequence to switch staging: rtl8192e: remove return statement from void function staging: rtl8192e: remove comparison to true .../staging/rtl8192e/rtl8192e/r8192E_dev.c | 3 +- .../staging/rtl8192e/rtl8192e/r8192E_phy.c | 11 +++--- drivers/staging/rtl8192e/rtl8192e/rtl_dm.c | 3 +- drivers/staging/rtl8192e/rtl8192e/rtl_ps.c | 3 +- drivers/staging/rtl8192e/rtl8192e/rtl_wx.c | 6 +-- drivers/staging/rtl8192e/rtllib_softmac.c | 39 +++++++++++-------- drivers/staging/rtl8192e/rtllib_softmac_wx.c | 4 +- 7 files changed, 40 insertions(+), 29 deletions(-) Tested-by: Philipp Hortmann