dect
/
linux-2.6
Archived
13
0
Fork 0

e100: fix build warning

In function 'e100_hw_init':
warning: 'err' may be used uninitialized in this function

Signed-off-by: Emil Tantilov <emil.s.tantilov@intel.com>
Tested-by:  Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
Emil Tantilov 2011-04-27 08:51:29 +00:00 committed by Jeff Kirsher
parent e67f88dd12
commit dca97ad2ec
1 changed files with 1 additions and 1 deletions

View File

@ -1512,7 +1512,7 @@ static int e100_phy_init(struct nic *nic)
static int e100_hw_init(struct nic *nic)
{
int err;
int err = 0;
e100_hw_reset(nic);