Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp3536370pxb; Mon, 4 Apr 2022 20:20:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx/iGKbaNFsbYSudRQqqCnNkYElPwkCcGgH5lRyu1gKuh8QTK15mE0BaLH1HfiVwEDHky6B X-Received: by 2002:a05:6a00:24c5:b0:4fa:f63a:4c3 with SMTP id d5-20020a056a0024c500b004faf63a04c3mr1312289pfv.15.1649128851708; Mon, 04 Apr 2022 20:20:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649128851; cv=none; d=google.com; s=arc-20160816; b=LKMQ7vw2vtNncAEhemAalocIyNhuuasa4wN5yfF3wFz+TdAbepEQ7hEDgAAiGDf9la QeI8JzodnPWU6dsEnlBqfWjVWcz4MyGknumncIWWkRJJu842hC0zvr0lVIX29s5vCK5n UHwnuj6i8GwL8C4BlndVf6GZCUWN3tjQdwOOmG4bt9kuNatK7NsFaPSH70ZvEMiCwmqF 0jesDbA2xVgpkRQ36HFfCRnsRCwiqkfB827Dzbv/k1fOn5tzTxZphgD1sHuvr8NXitNg 1sXq8k8VGlKWxws6Z0EuiuBzvSo0ajtIvYye0R/pAP32mD5ePxTUiFZDri39OYsm1yEp qLGQ== 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=cuEZGYCDTIg4hAs18A6RZQYja/XtuoYHfBwjj8fnnZ0=; b=Mlf1+qZJKJVloRx2afRGG+dIT9E6ypbiVeqComn4Ty5lvP0/U+j+yy2aajAvthzGN9 C6o8Pc4QsZvccrU2yEmQJK9nhM6E8LOMYS+YuWq6nSRDguIOdyRIG1iWT2Fe53JQiDTg rEOGoiZAJ0THMDXzhTSCgMovHiVvi5kl/uM7JqW16s7xqUe5pKea358+lHa+AS4LCb/g 9EN14Xj24X9Nr8Ohpe1cBCanad3imukEIaIlW0StiG8gU/WUnIgqaTGmFsWlcca5VSFb AMcHi+XTwm2IY9MDOhwbjlZpf+rLrboa6fJppW0psmqKlcp4BFBbJFyVlsefeZwh61xV 3kwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="FnP/rNV7"; 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 u12-20020a6540cc000000b003816043f003si11580362pgp.504.2022.04.04.20.20.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 04 Apr 2022 20:20:51 -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="FnP/rNV7"; 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 91DAD1B6094; Mon, 4 Apr 2022 18:20:16 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1346084AbiDANE7 (ORCPT + 99 others); Fri, 1 Apr 2022 09:04:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43116 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S245752AbiDANE6 (ORCPT ); Fri, 1 Apr 2022 09:04:58 -0400 Received: from mail-qv1-xf36.google.com (mail-qv1-xf36.google.com [IPv6:2607:f8b0:4864:20::f36]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3F875220FD7 for ; Fri, 1 Apr 2022 06:03:08 -0700 (PDT) Received: by mail-qv1-xf36.google.com with SMTP id kl29so1948358qvb.2 for ; Fri, 01 Apr 2022 06:03:08 -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=cuEZGYCDTIg4hAs18A6RZQYja/XtuoYHfBwjj8fnnZ0=; b=FnP/rNV7/WXimg+zgn3ZqWYzD72kkxZ/ONysifSpqL/1K7GEgH19xEywvc/NBFTB67 /fR/Qc2j32gxCUahzaVZJ9DXaVZULmEjajoKBSjIa5Xd+pKVSaxeu+JgLGjDdJXPqRHP 1C/h8SdDjkKTBqNEjYbYg/hnkBSlVZSPHtdzdgRLr3QS0czqcsXEuNs8p9mZ3Vjyu2eo lu2m4KQpjSUwls5Cp9s32l6HbNcuT6KdcGYRs3oEk2xosAk28ZaTlNAbRIYJmjJfBWZ0 C/PUuBgVfsMTuMA51hheK8DvaccF7J47dgy4LTtQ9QS8ngwCa2kAENdsCOcaycTdfaoW rEQQ== 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=cuEZGYCDTIg4hAs18A6RZQYja/XtuoYHfBwjj8fnnZ0=; b=yxauyUcvlWKWB6eVplA0Ym8d5ZLNdJU32HYzIzDL8WZx8ZxXh49yLJrt7hVAKw0vCA +v3W3uNr8DU70s67LkEq0DmtXDTrqWgiBhSJ6SFT2cMhk8vO+JE39LCfpbd7SPnWsMzc 4eT4760Enw6Tx+khh1P5olmez6MVozJhcuWoQV/9itO54gaznfnfIqFL2/r4AVpAtgqY RWIQphm3iJuu11IBs0wR5j3ILNesvJxKgBZhAVbS9iLM2eEqFNgooXTgOF4I4prfrt04 A4ebJZnGi4oYC5oTgbINYVnbBFqIHDmBLF9nJEvfbgx/CKACoGmRX1hqcJmG71uCOwOH YxMA== X-Gm-Message-State: AOAM5302sirepJ+zkGeZpwk+Sl4C36RO24jOza3Kyh6jAw63rhEGLmRp euU6cQZu3CugWI7XjduxcBjKb7G6pKF/9Idv X-Received: by 2002:ad4:5dca:0:b0:441:6063:e235 with SMTP id m10-20020ad45dca000000b004416063e235mr7845530qvh.48.1648818186806; Fri, 01 Apr 2022 06:03:06 -0700 (PDT) Received: from euclid ([71.58.109.160]) by smtp.gmail.com with ESMTPSA id s13-20020a05620a0bcd00b0067afe7dd3ffsm1348581qki.49.2022.04.01.06.03.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 01 Apr 2022 06:03:06 -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/3] rlt8723bs cleanup Date: Fri, 1 Apr 2022 09:02:44 -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 three categories of checkpatch warnings (redundant braces, redundant else branches after return/break, and constant placements on tests) 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 (3): staging: rtl8723bs: remove redundant braces in if statements staging: rtl8723bs: place constants on the right side of tests staging: rtl8723bs: remove redundant else branches drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 167 ++++++++---------- 1 file changed, 70 insertions(+), 97 deletions(-) -- 2.25.1