Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp1711685pxb; Fri, 22 Oct 2021 06:18:36 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyllluxoYwhZKciDY2A+bhvFFFHAcwnZ/jc8yIplop8cNk/EJGUoO0kFQkmPG9sBdBRD4U2 X-Received: by 2002:a17:907:2854:: with SMTP id el20mr2423011ejc.416.1634908715841; Fri, 22 Oct 2021 06:18:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1634908715; cv=none; d=google.com; s=arc-20160816; b=VNX+25DXpJmawJzRC9LdxcLfzcNDiNIchLB5QAcFOb7pT17FXerUFQM4mrJVUTF4Ty THMe8SCivihK5kVTVhWqGUUZSTtNghcpwEvujvRWLcwsITh9HbVsA45bxXj/cZAqxIKq Rc3NsfHS4Yh/ffl4mRLt2pqI4R1H7KWTZfRZ3YdkY9Pq+mYiUxfz7/sLOpG7W+d7Jx3n DWt1GUpAoB0NdhvyRsot/Yep30POJ5MNSGnlaXR0Z3lq/5KP9Tf1+egpGIYoKuHLYTL1 QjRwQznpJe4fVAJi5qirWryDBERVXfharjMk6mgMNSYu468wik1NGS04ki16xfJJDxS4 +h/Q== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=TXWLKHBX+ezfpY/ptP0oDSG+Yl9iLNNcMxfctInrjpw=; b=BY/Jm3sodTmyMfXMkNn4DmJ0JVoFTao/5y2CquSE5I6zzJ62vacr5/m8yruUoRgZIs 0UP/P6UI34/N/QBCneAEKhytL9pl5jsfkq4fV1NEbHBNtIplzmB7QwT4gIWg0Vm7Ti2b pvGLr3ZvDvMvxDaBj4oMq6M67VtLtVw57ZN/VaecS08NR5P6tpKMn3Gymoz0+Xj++Mdc HPBkas010Y+5Ga/qnJ6GiWqHvwQMMEepV7dQgoo1dPX58GZ2etdwhEJ9NfSfkpoV0LV4 zBPRGwbmpcTizP3tqYQlBRD2UazeMts9/0gPilcLDPv8QfRo/IuK0Wv4my8JsATI3iE4 ji3Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="pNRf/IHI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id hp24si16585273ejc.400.2021.10.22.06.18.10; Fri, 22 Oct 2021 06:18:35 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b="pNRf/IHI"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.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: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232883AbhJVNQe (ORCPT + 99 others); Fri, 22 Oct 2021 09:16:34 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37372 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232827AbhJVNQd (ORCPT ); Fri, 22 Oct 2021 09:16:33 -0400 Received: from mail-pl1-x635.google.com (mail-pl1-x635.google.com [IPv6:2607:f8b0:4864:20::635]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADD13C061764 for ; Fri, 22 Oct 2021 06:14:15 -0700 (PDT) Received: by mail-pl1-x635.google.com with SMTP id n11so2675107plf.4 for ; Fri, 22 Oct 2021 06:14:15 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=TXWLKHBX+ezfpY/ptP0oDSG+Yl9iLNNcMxfctInrjpw=; b=pNRf/IHIydBQy3G2uyFeO7k98CdPm8qSQIErmFU9y+2QzfGwkckAoJPTs7j1GD1NCv uQjjg/5r0oaW0rBa/gZbOMiH5tAWyIGCmfByBcNKbeoNFfpBCXc46s69p1LTNOiOCbZx 1YhzWLDPrTOFdd9xORiAJnagn8ctAKdGIGpLcKmIb3tvFDI9GkBTzPVkR5/udgqXfRZr Yq1KrWntCem0x4hcGGl7c1UDMhPSjymT7C3fXh2gN9jBbYROlk/5m7+2MzXT4wRzqoti 6cja42IUDZZitRoA2LKkRU4RiqGQNQeaaUvwU/onMH4Z6urC9NXrTbGW//9R7wA3aH1O plnw== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=TXWLKHBX+ezfpY/ptP0oDSG+Yl9iLNNcMxfctInrjpw=; b=KteMDPp+Lyk+I8sXHKHjffK6SSDOcAL/Mv0xBQAsyXq7U9yW5HfRY2Jm46zXZENA3t L/SCdwyLw0w/OMphR842ZtltstE4rE+HJUB+/QQ4+ih9+qEjciPFSNzY7Rv1wF1RRywJ wnJ9BSGcSn4EIXae0PzvMa56jQvEA4cNrpYe9QMeExwTtJ5EuN7wlqtAKTqK8brDgFbA gijcRSfVoZE/fcXN8ClpcsWBoVhspnwD2S3VdhbbMJTdLUbGNDebi8M5VsPyou0XPPcZ w7jf3p+8yYeX3DV6Nu8mMcaGBQnxZ61xgAaB0IzB2XV/QB6EabgGkaw5KRuUqc0Lt7z+ XuQg== X-Gm-Message-State: AOAM531Xb2EZpQhyVdgjM/VETXRd4gKl/HGS8k4hGSncXDibSsYrqGnl v3cKmz7QINTEvKWetIr2vfuCQazkKSvNVA== X-Received: by 2002:a17:902:d485:b0:13f:2212:d631 with SMTP id c5-20020a170902d48500b0013f2212d631mr11212753plg.44.1634908455217; Fri, 22 Oct 2021 06:14:15 -0700 (PDT) Received: from localhost.localdomain ([115.96.219.100]) by smtp.googlemail.com with ESMTPSA id mq3sm11932413pjb.33.2021.10.22.06.14.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 22 Oct 2021 06:14:14 -0700 (PDT) From: Kushal Kothari To: gregkh@linuxfoundation.org Cc: kushalkothari285@gmail.com, kush19992810@gmail.com, outreachy-kernel@googlegroups.com, fabioaiuto83@gmail.com, ross.schm.dev@gmail.com, fmdefrancesco@gmail.com, marcocesati@gmail.com, straube.linux@gmail.com, philippesdixon@gmail.com, manuelpalenzuelamerino@gmail.com, linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org, mike.rapoport@gmail.com, kushalkotharitest@googlegroups.com Subject: [PATCH v3 4/4] staging: rtl8723bs: core: Remove unnecessary blank lines Date: Fri, 22 Oct 2021 18:43:21 +0530 Message-Id: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove useless blank lines Signed-off-by: Kushal Kothari Changes in v3: Enclose the version number inside the square bracket. Changes in v2: Removed whitespace errors --- drivers/staging/rtl8723bs/core/rtw_cmd.c | 26 ------------------------ 1 file changed, 26 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_cmd.c b/drivers/staging/rtl8723bs/core/rtw_cmd.c index fce3256cc275..639459d52261 100644 --- a/drivers/staging/rtl8723bs/core/rtw_cmd.c +++ b/drivers/staging/rtl8723bs/core/rtw_cmd.c @@ -316,8 +316,6 @@ int rtw_cmd_filter(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) return _SUCCESS; } - - int rtw_enqueue_cmd(struct cmd_priv *pcmdpriv, struct cmd_obj *cmd_obj) { int res = _FAIL; @@ -367,7 +365,6 @@ void rtw_free_cmd_obj(struct cmd_obj *pcmd) kfree(pcmd); } - void rtw_stop_cmd_thread(struct adapter *adapter) { if (adapter->cmdThread && @@ -497,11 +494,8 @@ int rtw_cmd_thread(void *context) } else { rtw_free_cmd_obj(pcmd); } - flush_signals_thread(); - goto _next; - } /* free all cmd_obj resources */ @@ -591,7 +585,6 @@ u8 rtw_sitesurvey_cmd(struct adapter *padapter, struct ndis_802_11_ssid *ssid, res = rtw_enqueue_cmd(pcmdpriv, ph2c); if (res == _SUCCESS) { - pmlmepriv->scan_start_time = jiffies; _set_timer(&pmlmepriv->scan_to_timer, SCANNING_TIMEOUT); } else { @@ -752,7 +745,6 @@ u8 rtw_joinbss_cmd(struct adapter *padapter, struct wlan_network *pnetwork) case Ndis802_11AutoUnknown: case Ndis802_11InfrastructureMax: break; - } } @@ -1010,9 +1002,7 @@ u8 rtw_clearstakey_cmd(struct adapter *padapter, struct sta_info *sta, u8 enqueu psetstakey_para->algorithm = _NO_PRIVACY_; res = rtw_enqueue_cmd(pcmdpriv, ph2c); - } - exit: return res; } @@ -1080,7 +1070,6 @@ u8 rtw_reset_securitypriv_cmd(struct adapter *padapter) /* rtw_enqueue_cmd(pcmdpriv, ph2c); */ res = rtw_enqueue_cmd(pcmdpriv, ph2c); - exit: return res; } @@ -1112,10 +1101,8 @@ u8 rtw_free_assoc_resources_cmd(struct adapter *padapter) init_h2fwcmd_w_parm_no_rsp(ph2c, pdrvextra_cmd_parm, GEN_CMD_CODE(_Set_Drv_Extra)); - /* rtw_enqueue_cmd(pcmdpriv, ph2c); */ res = rtw_enqueue_cmd(pcmdpriv, ph2c); - exit: return res; } @@ -1150,7 +1137,6 @@ u8 rtw_dynamic_chk_wk_cmd(struct adapter *padapter) /* rtw_enqueue_cmd(pcmdpriv, ph2c); */ res = rtw_enqueue_cmd(pcmdpriv, ph2c); - exit: return res; } @@ -1347,14 +1333,11 @@ static void dynamic_chk_wk_hdl(struct adapter *padapter) /* for debug purpose */ _linked_info_dump(padapter); - - /* if (check_fwstate(pmlmepriv, _FW_UNDER_LINKING|_FW_UNDER_SURVEY) ==false) */ { linked_status_chk(padapter); traffic_status_watchdog(padapter, 0); } - rtw_hal_dm_watchdog(padapter); /* check_hw_pbc(padapter, pdrvextra_cmd->pbuf, pdrvextra_cmd->type); */ @@ -1500,9 +1483,7 @@ u8 rtw_dm_in_lps_wk_cmd(struct adapter *padapter) res = rtw_enqueue_cmd(pcmdpriv, ph2c); exit: - return res; - } static void rtw_lps_change_dtim_hdl(struct adapter *padapter, u8 dtim) @@ -1542,7 +1523,6 @@ u8 rtw_dm_ra_mask_wk_cmd(struct adapter *padapter, u8 *psta) struct cmd_priv *pcmdpriv = &padapter->cmdpriv; u8 res = _SUCCESS; - ph2c = rtw_zmalloc(sizeof(struct cmd_obj)); if (!ph2c) { res = _FAIL; @@ -1577,7 +1557,6 @@ u8 rtw_ps_cmd(struct adapter *padapter) struct drvextra_cmd_parm *pdrvextra_cmd_parm; struct cmd_priv *pcmdpriv = &padapter->cmdpriv; u8 res = _SUCCESS; - ppscmd = rtw_zmalloc(sizeof(struct cmd_obj)); if (!ppscmd) { res = _FAIL; @@ -1673,9 +1652,7 @@ u8 rtw_chk_hi_queue_cmd(struct adapter *padapter) res = rtw_enqueue_cmd(pcmdpriv, ph2c); exit: - return res; - } struct btinfo { @@ -2021,11 +1998,8 @@ void rtw_createbss_cmd_callback(struct adapter *padapter, struct cmd_obj *pcmd) rtw_free_cmd_obj(pcmd); } - - void rtw_setstaKey_cmdrsp_callback(struct adapter *padapter, struct cmd_obj *pcmd) { - struct sta_priv *pstapriv = &padapter->stapriv; struct set_stakey_rsp *psetstakey_rsp = (struct set_stakey_rsp *)(pcmd->rsp); struct sta_info *psta = rtw_get_stainfo(pstapriv, psetstakey_rsp->addr); -- 2.25.1