[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20181220081046.GA3581@gauss3.secunet.de>
Date: Thu, 20 Dec 2018 09:10:46 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Florian Westphal <fw@...len.de>
CC: YueHaibing <yuehaibing@...wei.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
<netdev@...r.kernel.org>, <kernel-janitors@...r.kernel.org>
Subject: Re: [PATCH net-next] xfrm: policy: remove set but not used variable
'priority'
On Wed, Dec 19, 2018 at 10:13:13AM +0100, Florian Westphal wrote:
> YueHaibing <yuehaibing@...wei.com> wrote:
> > Fixes gcc '-Wunused-but-set-variable' warning:
> >
> > net/xfrm/xfrm_policy.c: In function 'xfrm_policy_lookup_bytype':
> > net/xfrm/xfrm_policy.c:2079:6: warning:
> > variable 'priority' set but not used [-Wunused-but-set-variable]
> >
> > It not used since commit 6be3b0db6db8 ("xfrm: policy: add inexact policy
> > search tree infrastructure")
>
> Acked-by: Florian Westphal <fw@...len.de>
Patch applied, thanks!
Powered by blists - more mailing lists