Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp8916852ybi; Thu, 6 Jun 2019 23:42:55 -0700 (PDT) X-Google-Smtp-Source: APXvYqzkabRl1DfBa8lvKglX8Uddp3k304uV5nxPLQXYTGRs7cKzZVaMrLJrgOGE/jTyApKuwZZz X-Received: by 2002:aa7:919a:: with SMTP id x26mr43090443pfa.134.1559889775698; Thu, 06 Jun 2019 23:42:55 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559889775; cv=none; d=google.com; s=arc-20160816; b=HhRQFpEZiEWXlkJ8A8Qqe7gMclyNNssNHr0cjoHzk/4V4fXw0t4QF9dhkYxWHFZ+D3 6JWbBJ6nlVIjWQDYE434YPzwO2nPaJ8UcCx3+3rf9IC0zReHT7EqBMkHt/+AQeQP9As+ 2ChpsKGYa0mnX2Z37xB9dJJo9WoTpWbMHwv0SH9FIOP/gVgOJxbpd9xW9lZmnNCvuv/k wdsqMJiGcDw2VgcAG2TbhxYMEcquXPbt5rrUZk9k2BgpFTiGRIHTjZ5kK6SZxdSBXVkk OduZ3uA1og+sBybFH/6HMHrn0hZa4w5zIcLpkVSU38aU/ElSnqVFXwdIhElsB507byvn jcpA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:to:from:subject:message-id; bh=JdHMHpXLLhMwjrhA6MLAaDhzfsXW28k1Al9Kvm9H8/o=; b=P61OI2TLhv3eH4eHUzEpCclGQxogoIQWL2/MsHAJdbMA3dcKzqmc6jTLTE58W5ELiI zOFYHHsp17YBiyKUFtiT0ovp6N9PTEsksxua+07cTw1dBFCzCHkfweBtugR9DTg2Wkz8 BnQLLownSTg0YZQvUMNhKrRq60NKGOKHW+kcLMkqOIQmxGuPNKE5AYZddLqSpBfuNR/y 5B1TiS9siHGhv3kLH5SfRP7oWuWwrkpCAyDsmlnQBJH5MCuaNaJ2RS1vs/iwOy15Iawu 6qhKIZzCij1BIQf6puzBH5QRxjzo+RCgy+KYE3idBJSZSQMSS32fGbDZz50iP77aFAMW 2hRA== 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 m3si971485pjk.86.2019.06.06.23.42.39; Thu, 06 Jun 2019 23:42:55 -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 S1727373AbfFGGlT (ORCPT + 99 others); Fri, 7 Jun 2019 02:41:19 -0400 Received: from relay7-d.mail.gandi.net ([217.70.183.200]:60117 "EHLO relay7-d.mail.gandi.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725962AbfFGGlT (ORCPT ); Fri, 7 Jun 2019 02:41:19 -0400 X-Originating-IP: 83.155.44.161 Received: from classic (mon69-7-83-155-44-161.fbx.proxad.net [83.155.44.161]) (Authenticated sender: hadess@hadess.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id ED95020005; Fri, 7 Jun 2019 06:41:14 +0000 (UTC) Message-ID: <1348e0f922462c1c39b278cdd25c1985d2870bf9.camel@hadess.net> Subject: Re: [PATCH] staging: rtl8723bs: Fix Unneeded variable: "ret". Return "0" From: Bastien Nocera To: Shobhit Kukreti , Greg Kroah-Hartman , devel@driverdev.osuosl.org, linux-kernel@vger.kernel.org, Hans de Goede , Larry Finger Date: Fri, 07 Jun 2019 08:41:14 +0200 In-Reply-To: <20190607031049.GA30138@t-1000> References: <20190607031049.GA30138@t-1000> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.32.2 (3.32.2-1.fc30) MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, 2019-06-06 at 20:10 -0700, Shobhit Kukreti wrote: > coccicheck reported Unneeded variable ret at > rtl8723bs/core/rtw_ap.c:1400. > Function "rtw_acl_remove_sta" always returns 0. Modified return type > of the > function to void. > > Signed-off-by: Shobhit Kukreti Looks good, thanks. Reviewed-by: Bastien Nocera