Skip to content

Commit

Permalink
e100: fix build warning
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Emil Tantilov authored and Jeff Kirsher committed May 4, 2011
1 parent e67f88d commit dca97ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/e100.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit dca97ad

Please sign in to comment.