Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp38807yba; Thu, 25 Apr 2019 17:34:48 -0700 (PDT) X-Google-Smtp-Source: APXvYqwmdkbk36b3gZWcZez79AvTReALogfC27D5KRjU34t12iLDfHrKVU2CD/NQqwbAnzKQfc7Z X-Received: by 2002:a62:3583:: with SMTP id c125mr20529839pfa.169.1556238888175; Thu, 25 Apr 2019 17:34:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1556238888; cv=none; d=google.com; s=arc-20160816; b=YYPMbW2t+1xB439i7JagCSx/ZKIxKlQJi0WkuHDrsSe/tSGAPi83jj1Yo6o5Dpxc/W 8le7PphP5g3aoQq32LQ0sScrh0q3KUoTUcJyr39PTC+x/frEPgLXVUyHni2yPpZvjwo4 nDwSvfU/UbDkop5THqD7Mt2MHnfH7gCG/0cDraNoLvx3oOEhtZSibl5IGmfcRj0zB1gi ewc8qn5ZjBMtc5kVhfINi4PElV+6HyPSfzKXg0/WeIMKWFQ9PWeNpvbJdNap/xZltdbK MkXNPYvis6oLwQTk+eU2Jgs6BVHF1jFgaUbc9SxKlZ0Rlwp6tQIB+M4Yfk0qr93DtvBR eBOw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date; bh=l/QDn1g63tYCU1T8m+PAapdgfVtk2wKn09JdnLJH75s=; b=RtJVGAfqMlMGa+SuqlAxZugQqsfsRlHyfy8RwkBghiKvYn6KrL83/ZLHCpHbiB/Vgn g3nLV/C4Hv7YpAk0XVDCF/vH5ZKbria4C/F5R1yZr55PVau/LFqgN95Ll2qVF0aOWv8X rViDwIJ9i7ZxM8rPLk/6mkAP77oDSRRAOlDcfafcjllF1Jb9+SUsyY0JQtFFDXpM8tUT XKhy+CZns4nXqqf/0E03iRbqzD1obs7CQFmL57iZI3GyN6EIoru6V3mZ+PpZGn8Nh0uR uTSRhMFT5bCIPsVLOVMpeWshU2yOY0Nhigg/pCollGTpvzooPOhR9o52P4AfMg5BQNqR UCqw== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h26si22638826pgl.21.2019.04.25.17.34.33; Thu, 25 Apr 2019 17:34:48 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2387638AbfDYUT5 (ORCPT + 99 others); Thu, 25 Apr 2019 16:19:57 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:30581 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726125AbfDYUT5 (ORCPT ); Thu, 25 Apr 2019 16:19:57 -0400 X-IronPort-AV: E=Sophos;i="5.60,394,1549926000"; d="scan'208";a="380285542" Received: from abo-75-106-68.mrs.modulonet.fr (HELO hadrien) ([85.68.106.75]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 22:19:55 +0200 Date: Thu, 25 Apr 2019 22:19:55 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Vatsala Narang cc: gregkh@linuxfoundation.org, devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, straube.linux@gmail.com Subject: Re: [PATCH] staging: rtl8723bs: core: Remove return in void function In-Reply-To: <20190425195145.25326-1-vatsalanarang@gmail.com> Message-ID: References: <20190425195145.25326-1-vatsalanarang@gmail.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 26 Apr 2019, Vatsala Narang wrote: > Remove return in void function to get rid of checkpatch warning. > > Signed-off-by: Vatsala Narang Acked-by: Julia Lawall > --- > drivers/staging/rtl8723bs/core/rtw_xmit.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/staging/rtl8723bs/core/rtw_xmit.c b/drivers/staging/rtl8723bs/core/rtw_xmit.c > index 094d61bcb469..67b9aeda7f3a 100644 > --- a/drivers/staging/rtl8723bs/core/rtw_xmit.c > +++ b/drivers/staging/rtl8723bs/core/rtw_xmit.c > @@ -2861,8 +2861,6 @@ void xmit_delivery_enabled_frames(struct adapter *padapter, struct sta_info *pst > > /* spin_unlock_bh(&psta->sleep_q.lock); */ > spin_unlock_bh(&pxmitpriv->lock); > - > - return; > } > > void enqueue_pending_xmitbuf( > -- > 2.17.1 > >