xfrm: policy: remove set but not used variable 'priority'
authorYueHaibing <yuehaibing@huawei.com>
Wed, 19 Dec 2018 01:12:20 +0000 (01:12 +0000)
committerSteffen Klassert <steffen.klassert@secunet.com>
Wed, 19 Dec 2018 11:24:43 +0000 (12:24 +0100)
commitcc4acb1b6a86563ef5b6dc7c35d99f66d7b82557
tree9b86541c0cc82e95aeaf34c3e97cc9bfe4c44707
parent33f18c96afdf4da20014f834874e2820ee880cde
xfrm: policy: remove set but not used variable 'priority'

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")

Signed-off-by: YueHaibing <yuehaibing@huawei.com>
Acked-by: Florian Westphal <fw@strlen.de>
Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
net/xfrm/xfrm_policy.c