i40e: Moving variable declaration out of the loops
authorAkeem G Abodunrin <akeem.g.abodunrin@intel.com>
Fri, 17 Oct 2014 03:14:39 +0000 (03:14 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 24 Oct 2014 03:38:05 +0000 (20:38 -0700)
commitbf00b376d329bbabd885dcaebe67f1119faf3ad4
tree40f39122d59923328d37e0b480e3cb82281eb2bc
parent5960d33f918c65dfee033421b2e04c37ce046b3d
i40e: Moving variable declaration out of the loops

Move the three variables out of the loop, so it only declares once.

Change-ID: I436913777c7da3c16dc0031b59e3ffa61de74718
Signed-off-by: Akeem G Abodunrin <akeem.g.abodunrin@intel.com>
Signed-off-by: Patrick Lu <patrick.lu@intel.com>
Tested-by: Jim Young <jamesx.m.young@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c