Re: [PATCH net-next] xfrm: policy: remove set but not used variable 'priority'

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Dec 19, 2018 at 10:13:13AM +0100, Florian Westphal wrote:
> YueHaibing <yuehaibing@xxxxxxxxxx> 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@xxxxxxxxx>

Patch applied, thanks!



[Index of Archives]     [Kernel Development]     [Kernel Announce]     [Kernel Newbies]     [Linux Networking Development]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Device Mapper]

  Powered by Linux