Received: by 2002:a05:6a10:2726:0:0:0:0 with SMTP id ib38csp916454pxb; Wed, 6 Apr 2022 04:11:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwZQRblvMWNPv9HQTOVAU9wN59HaV8X8ZG5Aips5GlVxY4n5osSY3cEYZBRwcVsAcXOrjhh X-Received: by 2002:a17:90b:1a8a:b0:1c7:c60b:f12 with SMTP id ng10-20020a17090b1a8a00b001c7c60b0f12mr9193855pjb.139.1649243513578; Wed, 06 Apr 2022 04:11:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1649243513; cv=none; d=google.com; s=arc-20160816; b=F9KDFSgN3q2ZVYJyPuyQ9YZIfNQz+wwZcfPBU7X/KoW0oNFkejAv1FCdl/D5ikLy5U T3lRuFAD1y74zExPuYzK7xHKrhF2SzzRGyh1CJHXEV0m2dQw0wD783w19uOSEZsVZ8/Q JgQc/fCADMULZCSAgS92kc116dgTWg5I13sjTryQf8SDHUBRzLP5Z/UZloHhMBW/AHda H4+t2G4K/hZx0K08+/Vnx6TxFuiZfJXwzq0UD454ZDhVjZbq/1crbooCXLMPEeYMzv7j QlzbG19RJHF31ExKGypIw3+Qv59RcYETa5pv10bMMZlI0QOKyKnDZzRHhGbzlNEq9/gU XJLg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version:message-id :subject:to:from:date:dkim-signature; bh=YZkbL+GyCYshGd2SxK7PvgiiaFokGhdvBjFhAiL3mJE=; b=tNxPSHJ03dHdgdAFV75Ca+cvXryNjKPNMb3aeOmyStixhhCIH35wfVCHrwk3JJdpui zCG35gGma0tpY7lgeqpXYFHzAxoM0V+ONxkHhcSXn7jdLXHnxOLY+vMctWSEiDn4DJlQ av20zfDk8+1vuDlyX5azb1YArA0Ewutf/1RAC48ZHUfyna1oHwLJfYgFy3PowrNyMypw zSxCdBWWG1nCODQ/QrkiPm0lniWjPx2UjNIwbp9GhO2ftgtArhsMDpfIThDTxyQD75g8 JdDCAuN7WOj0h1Wtj8pC60wSJd1xh8eFaXpiIyXbslB+usmPKCavnsfkWtFb/QywnG65 OO9A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=ZJO9yRZp; 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 l13-20020a637c4d000000b003816043f01esi15669325pgn.531.2022.04.06.04.11.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 06 Apr 2022 04:11:53 -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=ZJO9yRZp; 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 6B3B643DA21; Wed, 6 Apr 2022 02:36:53 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1351409AbiDEVYO (ORCPT + 99 others); Tue, 5 Apr 2022 17:24:14 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1455062AbiDEP7e (ORCPT ); Tue, 5 Apr 2022 11:59:34 -0400 Received: from mail-qt1-x830.google.com (mail-qt1-x830.google.com [IPv6:2607:f8b0:4864:20::830]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id BA8B4D3723 for ; Tue, 5 Apr 2022 08:09:19 -0700 (PDT) Received: by mail-qt1-x830.google.com with SMTP id v2so11506261qtc.5 for ; Tue, 05 Apr 2022 08:09:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=date:from:to:subject:message-id:mime-version:content-disposition; bh=YZkbL+GyCYshGd2SxK7PvgiiaFokGhdvBjFhAiL3mJE=; b=ZJO9yRZp6P90RZT3XEvaUufFTHnVskvsXvvmkYd9SwzpPfgQ/EG7qq7XxWlnwiAWZo P87Oj4KT6pQfjRrCT+DpXN5an1xn0JKcq13+wFXorFDrN7JcfMlNb5TWDfnUUdJj1+am u/COgwXV/FL5IXcjkoE6ZJu8OXTt34vQyZjsGz7DWRMSrtnX1PJo/os3xrYpXg42KcBN rnZO8Lts3yrMffecZZBrIk1/RZKUlrubFkJjuldbUXB5gB1TdX70eAdcZucVRfiMem6K NbNXuSftzcBcc6NzXtkTRUFZo31VAtvKDKOAFFPu01z1GS0yn8EcAeqkhmn3robIPMwE rSuw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition; bh=YZkbL+GyCYshGd2SxK7PvgiiaFokGhdvBjFhAiL3mJE=; b=PDqR27+pVAZ6t3vtA1B6iZCoVOyeeESivPVKFtWiVJfxv/1KdlQolDiKRf0hvUVTOr 9siuhdr1PRAa0bWSFDXu2YyUptYuuZ7UGTKWFSwK5GvTaoZTOHoJTmEU5DBhBa+/F/B0 UIasBEs35RZTJz62H6w5w9o+MKcvxmiFL4gkVteioOCY0n8sxQBq/QTKMvBFxGAthyzG Mc9dxHafP1iXiQoRcxMEdczLIO0aNeSYheGBvRh+2i306tZdnckC7XVzgkGewZtMGomu aM9p8Jns9PWTiC3a4fEGcmcIzE3owd1NyxEz4WNuWra71f7ubo0H6iQn1UuunFfuonS+ tw/g== X-Gm-Message-State: AOAM531ywncEFsoq63FUf+41SH/WZ0FvYUU4kIeuGb9OY1UtEo+dqUuG l1qMf4kifs6d37RxtjdJnQzXh5FImv5ITw== X-Received: by 2002:a05:620a:4612:b0:67e:be08:b079 with SMTP id br18-20020a05620a461200b0067ebe08b079mr2633660qkb.422.1649171358837; Tue, 05 Apr 2022 08:09:18 -0700 (PDT) Received: from euclid ([71.58.109.160]) by smtp.gmail.com with ESMTPSA id n8-20020ac85a08000000b002e06aa02021sm11266239qta.49.2022.04.05.08.09.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 05 Apr 2022 08:09:18 -0700 (PDT) Date: Tue, 5 Apr 2022 11:09:12 -0400 From: Sevinj Aghayeva To: Greg Kroah-Hartman , linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, outreachy@lists.linux.dev Subject: [PATCH v2] staging: rtl8723bs: fix indentation Message-ID: <20220405150912.GA625670@euclid> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 Adhere to Linux kernel coding style. Reported by checkpatch: WARNING: suspect code indent for conditional statements Signed-off-by: Sevinj Aghayeva --- v1 -> v2: Remove the comments that became irrelevant with proper indentation. drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index 04e29e228c1e..1bdbd0971f73 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -5143,17 +5143,9 @@ void link_timer_hdl(struct timer_list *t) } else if (pmlmeinfo->state & WIFI_FW_AUTH_STATE) { /* re-auth timer */ if (++pmlmeinfo->reauth_count > REAUTH_LIMIT) { - /* if (pmlmeinfo->auth_algo != dot11AuthAlgrthm_Auto) */ - /* */ - pmlmeinfo->state = 0; - report_join_res(padapter, -1); - return; - /* */ - /* else */ - /* */ - /* pmlmeinfo->auth_algo = dot11AuthAlgrthm_Shared; */ - /* pmlmeinfo->reauth_count = 0; */ - /* */ + pmlmeinfo->state = 0; + report_join_res(padapter, -1); + return; } pmlmeinfo->auth_seq = 1; -- 2.25.1