Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp862954pxf; Wed, 7 Apr 2021 13:34:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwy7Wn3CxYBkENNp8g/GCTXHO/1Xp2804BCzvjKsTwb2hluhFIlx994RUJiWasfvh/TsVwy X-Received: by 2002:aa7:df95:: with SMTP id b21mr6618186edy.338.1617827678506; Wed, 07 Apr 2021 13:34:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1617827678; cv=none; d=google.com; s=arc-20160816; b=oKwL1hlEDSeI8KbYO6GRfNvT475a3ryqYdwE5RPHAXjTTvF2llpLJ7aZlruB252q/i pHWqAQIOmtervVxG0AhTdzJxwQkdPElitTzxhP3tAi11ZVTXhV93X1NTGaa+IuBCsUlO dvshKZL4Ql4MbJ4Dq7ErDqK5yabnzh4fx8uuZpUc38r7GMncB1lvHGXzmHUvJCRJE4h+ Gj8VVmcNgiXNPecm+KUz2a+2FZ/FYlNH2LSF8B7XEz00Pma7fkCNs5xVVNpIXRg8UC5r HPDCTYDQzkNufWq8IvNWrNUDJxuGygAdAbtF0FkI2RpCP7pE+oTEjYEw+yHKmLVbuhWl 5s7w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=HHseQTh0UAgpySd+TjvlmOQt5/7QLXNpMjDBMa2aBQw=; b=mEQZ8SqX7sHsLjIpKQMoZu94TrBJzZOYvj2HVacXtyZnOCk4yFb1a1r/pGyFxdLQwj IZMQj0LR+bHJps5ATEE8yztgjZ+F2hebft9E2ToKf3cAElPN3UE7Rqf6/h3jrYbJ2dKV MWAP03/XA+oLcI8Y7SukuIRJy8XUD1WVn8LMsWqS85JyvZUrNpyUyUHNDp2dPjrESZ5B Q0F+BRaI3BsZlNkbGTI6hnFtpxt3yxqRO/adbLT1gkXkYvbhBfbO+M1PMow3HA1bj7Gh yfJD6sM+53t1XcussNRBE9gjbSNAf3be9xdJGUALUqNxi/ZqaP+IVLEhBoXNJsjduwBM SGHA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=nSFcHHCu; 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=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w22si18630166edd.295.2021.04.07.13.34.15; Wed, 07 Apr 2021 13:34:38 -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=@linuxfoundation.org header.s=korg header.b=nSFcHHCu; 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=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235806AbhDGIU1 (ORCPT + 99 others); Wed, 7 Apr 2021 04:20:27 -0400 Received: from mail.kernel.org ([198.145.29.99]:47584 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234102AbhDGIUZ (ORCPT ); Wed, 7 Apr 2021 04:20:25 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E0D2461363; Wed, 7 Apr 2021 08:20:15 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1617783616; bh=RIQQZ/8OzyrqcVeWTPhjOoZF88p41cOlDYgQorJvWh0=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=nSFcHHCumsdCEBMoybYS1wxglvtYG8f+/SgA1uBtK0d1UmLZxCYMCwrGHq6U0YPuD OnQG6+sQ9IDUh46edCwkdF9aDA07VEKNRmz0kjTxWaxBLK5NeCAT0qe59jTBB62vNB iAI+Ec2e2X9Uri8tHyeEPlaWTT/ZEJDRjS/R01Hs= Date: Wed, 7 Apr 2021 10:20:14 +0200 From: Greg KH To: Jiapeng Chong Cc: linux-staging@lists.linux.dev, linux-kernel@vger.kernel.org Subject: Re: [PATCH] staging: rtl8723bs: remove unused variable Message-ID: References: <1617765499-65626-1-git-send-email-jiapeng.chong@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1617765499-65626-1-git-send-email-jiapeng.chong@linux.alibaba.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Apr 07, 2021 at 11:18:19AM +0800, Jiapeng Chong wrote: > Fix the following gcc warning: > > drivers/staging/rtl8723bs/core/rtw_ieee80211.c:657:15: warning: variable > ‘sec_idx’ set but not used [-Wunused-but-set-variable]. > > Reported-by: Abaci Robot > Signed-off-by: Jiapeng Chong > --- > drivers/staging/rtl8723bs/core/rtw_ieee80211.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) This does not apply to my tree anymore, please update your branch and rebase and resend. thanks, greg k-h