aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/vxlan.c
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2018-07-31 03:41:44 -0700
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2018-08-07 12:20:00 -0700
commit4d9768237c19d7bcea8b284ec98c04a5846977be (patch)
tree8857c90986ef8ca83af724a924930372fcccb05c /drivers/net/vxlan.c
parenti40e: convert priority flow control stats to use helpers (diff)
downloadlinux-dev-4d9768237c19d7bcea8b284ec98c04a5846977be.tar.xz
linux-dev-4d9768237c19d7bcea8b284ec98c04a5846977be.zip
i40e: remove unnecessary i variable causing -Wshadow warning
Commit c61c8fe1d592 ("i40e: Implement an ethtool private flag to stop LLDP in FW") added an extra for-loop which added a shadowing 'i' variable as the index. However, the local variable i already exists, and we already use it as a loop index. Additionally, at this point, there is no further use of the variable, so it's safe to simply overwrite the variable contents. This fixes a -Wshadow warning which has started being enabled on some distributions Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Reviewed-by: Patryk Malek <patryk.malek@intel.com> Tested-by: Andrew Bowers <andrewx.bowers@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers/net/vxlan.c')
0 files changed, 0 insertions, 0 deletions