Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3552099pxb; Mon, 4 Apr 2022 21:01:21 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxXnxrj/SMBC7VputqdMnmCTclckZ0QvsNnmsA9Gg7SeNusJmqveTnIvE8ravHeTETXdacr X-Received: by 2002:a62:7b43:0:b0:4fa:6936:6986 with SMTP id w64-20020a627b43000000b004fa69366986mr1482384pfc.13.1649131281099; Mon, 04 Apr 2022 21:01:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649131281; cv=none; d=google.com; s=arc-20160816; b=WRae48ZNdYj5I1yEfJ7wnVYRDJQNbBtR8+cXEdmgSTnrYMAF4RWa1AKrWa+i7Zs4/h aHKsvl0wAgFIoLKj7o/3JbUMf2xoysPdyw9bQ3t8tirlGpjlj3PlA0iJwv+bmcfItmoV 6gDVv7HdUHxKesbN6yr6gYeZZLY5Ybd8zw0ApQlnz1ZDD72nogUmDhl60JwTPVn8OuhL dr5VD6ihRHfETpC9SrbUE9F9S8bFK+lPbBv7ikV8WiJz4GEfGFLFuCrZ7kigCeHhK/tH aV8n1A1/Izwl5ZAFHvLOavebwjUDPo7yAlnwwd5G2JMZBTegbPRYbXqiQBhlOEEWBxnT 8Ieg== 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=WNYZrXIYQcYX1eT3yCDusiEgOPOnE1Uw+GVsGFSpvGM=; b=K8I56ocxzKizo5+MBJ2OM0e2v3aR2OoHdbDv4jcprK3zlWKGxIdDnCmHeFVCvqsisy rKZVJHyYYhyfgci6nzo1L2NDV61SDAF4+uD5y2Qbwvgy6b+O4cxh1puUUUjob4imSmZ+ Jhq+DjA5fRZGsvPGtOZAz6MvS9b/Ml+BHlsY7ZpCZ/ikzUYpvFkP+r2upPSOtGwn7lcC c/Smjp+GjIyrMIQwa7AOkAS0B+DmE6rR79Vb4m7pRo2LUF+wBSpn1qmekd4TUN+FhIsu EP07/oyYW1Wd5U2crUS4M+f1w6ga2QMD707S+FvtiPn3fGyNNUqW3/RlbBo343x0AFb0 AgAw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HhxfV7d6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id y12-20020a170902700c00b00156a02e4425si5127542plk.201.2022.04.04.21.01.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 21:01:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=HhxfV7d6; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1: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: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id ED19920BE4; Mon, 4 Apr 2022 20:16:26 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230097AbiDEDST (ORCPT + 99 others); Mon, 4 Apr 2022 23:18:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44814 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230094AbiDEDSQ (ORCPT ); Mon, 4 Apr 2022 23:18:16 -0400 Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 67EF61E3E2 for ; Mon, 4 Apr 2022 20:16:19 -0700 (PDT) Received: by mail-qk1-x72f.google.com with SMTP id r127so9321085qke.13 for ; Mon, 04 Apr 2022 20:16:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WNYZrXIYQcYX1eT3yCDusiEgOPOnE1Uw+GVsGFSpvGM=; b=HhxfV7d6F24BtgCoeDYr+W7Q47h1cTnbmTNsJshOBMLDA38QSVFzUF3qXChkZsA+qr YK3Sjoi5bfRiyCPNzFPnu0paWDNMgKhoWxfzCRTecppdzgxPsNfHL4LkMZWvatE0ug6h roYgPaS5CL79KQ4u74x38nZ48nuRxQN1Uz/CcAnewdhDMrRC7bIn9ITILDIEYaPUB1wt 3Hh+pBgFKAp8CjqulWWxIWJHBKDOYUC4/Uu/OEuJRUUsacof90rPvTQ4rJnOaQWWB9Sh bH3tnwQRi3eTNV1wu4HaErVRwC3ovYdXbqf/PWh5I6dyK+GRz1TqYLABsUPmmsqbkxpJ JaAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WNYZrXIYQcYX1eT3yCDusiEgOPOnE1Uw+GVsGFSpvGM=; b=etKhZavbxRDEB08UvMcL/aI0lmGD3A1aorslCv/xxVMdhuMBEnLGrHtSExPS0YF5AI ojxnmxEN/xwO+GZoHDMDN1Jp2HRl+Vf3jXfJWg9Z7/RbGoiTyvX10h+NmGXWqp4ou4Vt VZIsrUUBYWm9hLE7H3VFHeJ8rvxMWa+vroyYHkXEAvMPrdJSc4UlQJ9orcjMB6lyWNcW JIJgvzksY/eZT5BzoAP4eR9tg2+fXb8mVDPywIbv9m2MdZLBQZK+ZjLFmgRc/PUgoKyr HaMffzkQI/2DFffExcAc93Onh9yDqPSpzX1jsJotQYlvW82GgUd0CFRqEZL/qP6zFWWB AHDA== X-Gm-Message-State: AOAM530Ztt6p3q9RIsninmalq2Sbg+J9IR8YZnV0r4ICRboJWWQddilW BVOyQipqR/XBofpTf+ISBNE= X-Received: by 2002:a37:a64b:0:b0:47c:3ad5:bf8c with SMTP id p72-20020a37a64b000000b0047c3ad5bf8cmr952478qke.13.1649128578395; Mon, 04 Apr 2022 20:16:18 -0700 (PDT) Received: from euclid ([71.58.109.160]) by smtp.gmail.com with ESMTPSA id m10-20020a05622a054a00b002eb965bbc3esm10337420qtx.93.2022.04.04.20.16.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 20:16:17 -0700 (PDT) From: Sevinj Aghayeva To: Greg Kroah-Hartman Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev, Sevinj Aghayeva Subject: [PATCH 0/5] rtl8723bs cleanup Date: Mon, 4 Apr 2022 23:16:07 -0400 Message-Id: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-1.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,RDNS_NONE, SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 These patches fix five categories of checkpatch warnings, such as redundant braces, and redundant else branches in file rtw_mlme_ext.c, which is part of the rtl8723bs driver. False positives, such as if (foo) { /* TODO: ... */ } were not altered. Sevinj Aghayeva (5): staging: rtl8723bs: remove redundant braces in if statements staging: rtl8723bs: remove redundant else branches staging: rtl8723bs: remove return from a function returning void staging: rtl8723bs: fix indentation staging: rtl8723bs: remove space after function name drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 160 +++++++----------- 1 file changed, 64 insertions(+), 96 deletions(-) -- 2.25.1