Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp4023747ybg; Fri, 25 Oct 2019 12:14:12 -0700 (PDT) X-Google-Smtp-Source: APXvYqzHZeMd6+1GvpD0tw2mTb6HhKMELcG6jI1WfSO37wDzWeo5u/wXtHKEotwzcDWbf5wZD98g X-Received: by 2002:a05:6402:1049:: with SMTP id e9mr5402197edu.91.1572030852680; Fri, 25 Oct 2019 12:14:12 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572030852; cv=none; d=google.com; s=arc-20160816; b=IFP70SrnWGvYa0dKiWf4RsZ2opnEn8lifGkClMsn1IdQHC0Mw6Pz/Tk27v1LWD0XzG xvKbzWgva4v4sq+xeDLSdtsMsqYtbI8GFxxeNsB7uq/dBYS0UUqGubv51Q+2z2j2+Xfm jcj4Xl5aQ7T9oZMW8A016xhVUbsQLXrlyrtkRNLE3dnvBU8QFSqLhhBG6VFkby4cFOkL Ec2xERuRkdJ/eHv24GdlygSlZ3QDhfGtWSaXItDtAZbFbauQvOts7hdSdp48jne0DWNt tjn//o9SzisRK0h/1+ZjQ/QuJRMGmTzyxkGv2S8nOd/95VgHW8jSTLY0RbXXzIEGPlIJ 55cw== 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 :references:in-reply-to:from:subject:cc:to:message-id:date; bh=3yg8bL5ZA51yQdBxfuRh8w7Wv3Em91C/cJ5xmJh7E8s=; b=ThbQ6ED7+vNDmVapGqXkxvNlnspAhaK4X5VPPL5XXvvVlei8X9JcfeXKrBM+lP05iN bj7rDk4d7ElxEdCDUbwpoTkZ/cUmwDlUrznY9xAqtSalag4k44Lntt6ugSYNFrW4HNe0 Pc2h7JU5UfZ4SlPEaZMJ9SjZXClnUk4LcpFV57KqmSHDesgVNZJvNpEz38Cazd51eKxK lJ3wu5dyBLxI65S0ai18Lpaam+fgz88T+Cm7fbboFE/WwaAlzGmVroDdNPJ8JA9QTjwL u8vKhAReLip4/HbLpKUG/pfFri5NvXsQ7+PpYVAvXfIM9ewh7+aYw+8lmdk39fKsg57j OAmw== 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 w16si1657159ejj.276.2019.10.25.12.13.49; Fri, 25 Oct 2019 12:14:12 -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 S1731493AbfJXWTy (ORCPT + 99 others); Thu, 24 Oct 2019 18:19:54 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:52636 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730505AbfJXWTx (ORCPT ); Thu, 24 Oct 2019 18:19:53 -0400 Received: from localhost (unknown [IPv6:2601:601:9f00:1e2::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id 28FCA14B79EBE; Thu, 24 Oct 2019 15:19:53 -0700 (PDT) Date: Thu, 24 Oct 2019 15:19:52 -0700 (PDT) Message-Id: <20191024.151952.183800816459145037.davem@davemloft.net> To: yuehaibing@huawei.com Cc: varkabhadram@gmail.com, alex.aring@gmail.com, stefan@datenfreihafen.org, linux-wpan@vger.kernel.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net-next] ieee802154: remove set but not used variable 'status' From: David Miller In-Reply-To: <20191023070618.30044-1-yuehaibing@huawei.com> References: <20191023070618.30044-1-yuehaibing@huawei.com> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Thu, 24 Oct 2019 15:19:53 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: YueHaibing Date: Wed, 23 Oct 2019 15:06:18 +0800 > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/ieee802154/cc2520.c:221:5: warning: > variable status set but not used [-Wunused-but-set-variable] > > It is never used, so can be removed. > > Signed-off-by: YueHaibing I am assuming the WPAN folks will pick this up, thanks.