i40e: declare rather than initialize int object
authorJean Sacren <sakiwit@gmail.com>
Sat, 19 Sep 2015 11:08:45 +0000 (05:08 -0600)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Oct 2015 22:36:11 +0000 (15:36 -0700)
commit6f66a484f1ff644b4600368fe3091e31b65d3c50
tree1de3fd3c928f6650060c1150c443d579d4c1f9a2
parent2bc11c634eaebb936345b136a196f555045a47ea
i40e: declare rather than initialize int object

'err' would be overwritten immediately, so we should declare it only
rather than initialize it to zero.

Signed-off-by: Jean Sacren <sakiwit@gmail.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c