Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp743457yba; Sat, 4 May 2019 11:47:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxUwCf+CusXmqba0O+XdW7sjIj+sr5jLDEsxcSt3MTvPOAr9vmIyYu5QSugRNIKl3u9wzgB X-Received: by 2002:a63:4a5a:: with SMTP id j26mr19674988pgl.361.1556995630507; Sat, 04 May 2019 11:47:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556995630; cv=none; d=google.com; s=arc-20160816; b=KjbiKdj5gWT+Yke5LxVt0BgsK8vjCl54VDbH4sUmR8X8SUbtYXNNYTYAYJTrO7T8Kh 1aAZ+iqi37pv/UNwyGqbxY51rJb2aBSVJ2OFt6XsFosPTLYexXwvMVH4azr2gMxCPIxm sMp7O23jkS+Na2WwlxGONpci5gOQUMOvtL/hsbZf8Vg9e9xmZYqSZCtEqtFAPeqTFp+X seoS6dC+woE3qLljc1u9ZUeYrr8X+8tRJdHuwHxb7b94SVUnmPl/2jFpMyGcF6oaSwOt Mzt/Ewj2zCUljl0A4DWUtyDeEC+T4oILy+E7Gt7BOn4HLFxKS3UB9lH4dIcI9Nc28Y/M acEQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature; bh=iZgd18AmQtLNRzwkoX+rPoe+HzMyoRmLac3vzm0iiVE=; b=zrofLDr4cHqoDtw2bo6YofLMh7YshWdTxcnBsnSPOCIdnDVnLiTXwcChbJ/1Sa6jBg qvZN3SZ+22uNWpR3rUa6eKFisU1fuuWmt5aQmG8+xzMV5KrvXsHto9zqFzL+k58PEgpq RYnDN8GZg/HAMgVC/tFjBSHaVmm7VbZkD9g59AXy6FJ+2OoP25sm/41UUp6QzAp3KYf3 HPlcCltn5adnve/ivvd1LZTdxYjlBIFCrS2Uc6demInzEnvb5DmEJMivgEFNcyrW8zTS PooNCM6MawWLK9QDF8Zk4GJVky/VWVgsbAJKnWnASJecCJXZ9U6HVCxLMI8TrM9iEwfz XDpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="TL7CjCO/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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. [209.132.180.67]) by mx.google.com with ESMTP id t10si6736520pgv.533.2019.05.04.11.46.55; Sat, 04 May 2019 11:47:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="TL7CjCO/"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 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 S1727229AbfEDSoY (ORCPT + 99 others); Sat, 4 May 2019 14:44:24 -0400 Received: from mail-pg1-f193.google.com ([209.85.215.193]:40159 "EHLO mail-pg1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726846AbfEDSoY (ORCPT ); Sat, 4 May 2019 14:44:24 -0400 Received: by mail-pg1-f193.google.com with SMTP id d31so4355815pgl.7 for ; Sat, 04 May 2019 11:44:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=iZgd18AmQtLNRzwkoX+rPoe+HzMyoRmLac3vzm0iiVE=; b=TL7CjCO/wA82EXgK8lUJr8DDKvfi+e9E78NJEwMkyADQG/aQxrnpCQWTc7RrcePeAi UR9elt3dtRKzou3vGur6M1PyyharAJ86dmr7qZahhKSqBmMn3Ni3XwfADLcHPtvYGoMV 5nxm82AU4VvMfqEFWDdzmhBb+ZAewhqwZ6Kc3cA2h4f3TUl0U9FDjs4Varjr41zzaozn AHsRh6zxrWhEKWHKRcynIXA2vQcmuuTyZS4GhhwIYyDllsdGDuhGrpo/0J9OyFFrf6M9 TItX1r0ohDSOz0dYY/EtTXvQ4aAbMCuCVY7sfYJkVtIOPMun5BiGx67M3HfjuaK7x48D xFPQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=iZgd18AmQtLNRzwkoX+rPoe+HzMyoRmLac3vzm0iiVE=; b=RJXycVaS8AwafxpsDNHZ++/uaf0WV9c9eNXPeDjW0K7/QN4gX80AQZc3XvD52pSizy OwPsH8txxADD83EtbTTaRSnKWxCpDjoDeCzhs5K+W5jjtSKTjH947q9cEH2maH+aUN4V ZJHYO0Y2LzB0o/aRTEDE1EL+FbQsRvscQsZImCcj7C1HwyFEGDHsS7uF9EENSVLsKZgg 3FQZHc+6oufPG9Fw57g6u7M5cgKxHIsAz9c0DYj2kWppvPpXO5WB+nZMOg96DQnDxbT5 clS8LlJNrTB1Jv0UhBkvmCFsvV8epZTKRR909mbS8o7pALHd3PwQ0ZdRrexJwlkXrvgi iLiA== X-Gm-Message-State: APjAAAUltHNT3dCQWlojMxJMTJdGpURZGi8qgngxIU3eKPaAEVULr0GO iCm1XdKXTNVKb1uku/HbKak= X-Received: by 2002:aa7:8296:: with SMTP id s22mr13348357pfm.52.1556995463860; Sat, 04 May 2019 11:44:23 -0700 (PDT) Received: from localhost.localdomain ([103.87.57.241]) by smtp.gmail.com with ESMTPSA id m131sm16730778pfc.25.2019.05.04.11.44.20 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 04 May 2019 11:44:23 -0700 (PDT) From: Vatsala Narang To: gregkh@linuxfoundation.org Cc: hadess@hadess.net, hdegoede@redhat.com, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, julia.lawall@lip6.fr, Vatsala Narang Subject: [PATCH 2/7] staging: rtl8723bs: core: Remove return in void function. Date: Sun, 5 May 2019 00:13:58 +0530 Message-Id: <20190504184358.25632-1-vatsalanarang@gmail.com> X-Mailer: git-send-email 2.17.1 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Remove return in void function to get rid of checkpatch warning. Signed-off-by: Vatsala Narang --- drivers/staging/rtl8723bs/core/rtw_mlme_ext.c | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c index 00d84d34da97..a7c22e5e3559 100644 --- a/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c +++ b/drivers/staging/rtl8723bs/core/rtw_mlme_ext.c @@ -3097,8 +3097,6 @@ void issue_auth(struct adapter *padapter, struct sta_info *psta, unsigned short rtw_wep_encrypt(padapter, (u8 *)pmgntframe); DBG_871X("%s\n", __func__); dump_mgntframe(padapter, pmgntframe); - - return; } @@ -5271,8 +5269,6 @@ void report_del_sta_event(struct adapter *padapter, unsigned char *MacAddr, unsi DBG_871X("report_del_sta_event: delete STA, mac_id =%d\n", mac_id); rtw_enqueue_cmd(pcmdpriv, pcmd_obj); - - return; } void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int cam_idx) @@ -5317,8 +5313,6 @@ void report_add_sta_event(struct adapter *padapter, unsigned char *MacAddr, int DBG_871X("report_add_sta_event: add STA\n"); rtw_enqueue_cmd(pcmdpriv, pcmd_obj); - - return; } /**************************************************************************** @@ -5828,8 +5822,6 @@ void survey_timer_hdl(struct timer_list *t) exit_survey_timer_hdl: - - return; } void link_timer_hdl(struct timer_list *t) @@ -5880,8 +5872,6 @@ void link_timer_hdl(struct timer_list *t) issue_assocreq(padapter); set_link_timer(pmlmeext, REASSOC_TO); } - - return; } void addba_timer_hdl(struct timer_list *t) -- 2.17.1