Received: by 2002:a25:86ce:0:0:0:0:0 with SMTP id y14csp1426286ybm; Thu, 23 May 2019 00:27:03 -0700 (PDT) X-Google-Smtp-Source: APXvYqxaKSvTDfjV8/ql80vl2whvO2bL0yYYfn4LGEGZuOH2KM7vaCRxG5itW/CdY4C3CMWm2Dc2 X-Received: by 2002:aa7:9217:: with SMTP id 23mr1767747pfo.80.1558596423474; Thu, 23 May 2019 00:27:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558596423; cv=none; d=google.com; s=arc-20160816; b=pyyPRS/CmdC+7/d80gKdaq8aqgkIIiFTQQMmveZ6kUa5HxaKEubM+ovzhsxTi2huFQ BE5+2H1jQab0FWUWmjydZwjg/rQ7PwAAd4qabEpKsRjvhjdnt+j1bCiT3sK1APxZ68M8 n4c+Ox9O5qfszT0S5DgYuR8jb8FajMxzR4JRCefsD0DXl8hqzs5ftItxdM0KTfHJedlU fwYO7KySD2JDX+0+6lpG8Gz2rc6mZgQE7d4cY1K9+vQTFuJpXCnw6KvpvzFv2TH3DBEz WZoq3Ldn9XgEWk5/RqTSwlOisF3aXsRXU1NllpF5TClBHFrp6V6iTZqM9PlFyiGXB8E9 e5XA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=FBAYBsQfBy9I0JVczwaISMeKb7R8K/UC2M5k1f6GzqI=; b=f/pNmO35xjxZRjZrZcvvi8glVEC5ymKkP/p0lLe0UQcDNMr8yb54XjQYObFPuklY/k Cf88VieiL43eqykx5To/StffUWZHw7/5F/CAwfghtZ785Qi5fuYpi1U86xyb/E77bF1c rG9UyqEGLCFuIv6foTPZ4rjhEgJ0uwWfPlT8VrVZ1xNI1/b45mnw55A/2QCq4yGSJRay H67ZBJ06iN5lNZ6S9PVRHR4HM8CbyfCzqoPvvCacjNDCoAxTrvx+GsMaoatwd+iC+73R RpptMSpQeb7HJ7dSRHQ0c54/TzKq4Y2xWcizFzpfwpFB4mtjrb2pdNz1w9fhfzfr6WO6 Adxw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=0NizurRK; 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 j40si7185822plb.352.2019.05.23.00.26.48; Thu, 23 May 2019 00:27:03 -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=@kernel.org header.s=default header.b=0NizurRK; 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 S1726905AbfEWHYX (ORCPT + 99 others); Thu, 23 May 2019 03:24:23 -0400 Received: from mail.kernel.org ([198.145.29.99]:35058 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725814AbfEWHYW (ORCPT ); Thu, 23 May 2019 03:24:22 -0400 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 5A9A7204EC; Thu, 23 May 2019 07:24:21 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1558596261; bh=p1vx5T5TzR7Lt49i3nph2k69PblDSo4eJT1e5+vVKFc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=0NizurRKh/LVy/gfKuBw6BnaROB/rIJmFEDnRO6WE3pIyryAlxvgHfzsTq9jfzlV/ rEFK77NOvJtKfCyk08urfr7i0+cNzSVbxkPMPJHLeDwuhAiPAV5S//L+o/ARmc1mGP coeET8lLa/NY3muQOIy+NdWiudwGLrIh/3AlVgi4= Date: Thu, 23 May 2019 09:24:19 +0200 From: Greg Kroah-Hartman To: Hariprasad Kelam Cc: Murray McAllister , Nishka Dasgupta , Kimberly Brown , Anirudh Rayabharam , Hardik Singh Rathore , Mamta Shukla , Quytelda Kahja , Omer Efrat , Larry Finger , Arnd Bergmann , Michael Straube , Emanuel Bennici , Jia-Ju Bai , Wen Yang , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v3] staging: rtl8723bs: core: rtw_ap: fix Unneeded variable: "ret". Return "0 Message-ID: <20190523072419.GA5628@kroah.com> References: <20190522171137.GA5579@hari-Inspiron-1545> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190522171137.GA5579@hari-Inspiron-1545> User-Agent: Mutt/1.11.4 (2019-03-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 22, 2019 at 10:41:37PM +0530, Hariprasad Kelam wrote: > Function "rtw_sta_flush" always returns 0 value. > So change return type of rtw_sta_flush from int to void. > > Same thing applies for rtw_hostapd_sta_flush > > Signed-off-by: Hariprasad Kelam > ------ > Changes v2 - > change return type of rtw_sta_flush > ------ > Changes v3 - > fix indentaion issue This patch does not apply to my tree. Please refresh it against the staging-next branch and resend. thanks, greg k-h