diff options
author | 2019-06-05 12:45:15 -0700 | |
---|---|---|
committer | 2019-06-05 16:53:25 -0700 | |
commit | 745b32c1a3faddbc5b96aade83c677454401f2e6 (patch) | |
tree | 9be07f1931bdb7594594e5a5099197b6af9c1d0c /net/socket.c | |
parent | Merge branch '10GbE' of git://git.kernel.org/pub/scm/linux/kernel/git/jkirsher/next-queue (diff) | |
download | wireguard-linux-745b32c1a3faddbc5b96aade83c677454401f2e6.tar.xz wireguard-linux-745b32c1a3faddbc5b96aade83c677454401f2e6.zip |
i40e: Do not check VF state in i40e_ndo_get_vf_config
The VF configuration returned in i40e_ndo_get_vf_config is
already stored by the PF. There is no dependency on any
specific state of the VF to return the configuration.
Drop the check against I40E_VF_STATE_INIT since it is not
needed.
Signed-off-by: Lihong Yang <lihong.yang@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/socket.c')
0 files changed, 0 insertions, 0 deletions