OSDN Git Service

i40e: fix an uninitialized variable bug
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 5 May 2016 13:18:02 +0000 (16:18 +0300)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 14 May 2016 07:21:51 +0000 (00:21 -0700)
commit1c306f7f62a38ee5f05f0ee994dfe82d654cf47c
tree0fdd0267b00bafb69cd4af370ca4c80dd33ef158
parentc74dff1aaaf2ee51368a0cbf2f903cc3d8690abc
i40e: fix an uninitialized variable bug

We removed this initialization but it is required.  Let's put it back.

Fixes: 895106a577c4 ('i40e: trivial fixes')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.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_hmc.c