diff options
author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2017-10-11 01:05:39 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-10-11 01:55:58 +0300 |
commit | 833e0e2f24fd0525090878f71e129a8a4cb8bf78 (patch) | |
tree | 169563716e6f404fcdf26aca6a2027c0ba44ad87 /net/openvswitch/actions.c | |
parent | f44dea3421b47d355a835e9cfcc59ca7318575a9 (diff) | |
download | linux-833e0e2f24fd0525090878f71e129a8a4cb8bf78.tar.xz |
net: dst: move cpu inside ifdef to avoid compilation warning
If CONFIG_DST_CACHE is not selected cpu variable
will be unused and we will see a compilation warning.
Move it under the ifdef.
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Fixes: d66f2b91f95b ("bpf: don't rely on the verifier lock for metadata_dst allocation")
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/openvswitch/actions.c')
0 files changed, 0 insertions, 0 deletions