diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-04-27 04:51:29 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-04 15:01:24 -0400 |
commit | dca97ad2ec37aa98c45dfe1d531d9ba7048e814e (patch) | |
tree | 190cb6c3a28d0bd7b99e2b86c8b92816f663d5a6 /drivers | |
parent | e67f88dd12f610da98ca838822f2c9b4e7c6100e (diff) |
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>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/e100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/e100.c b/drivers/net/e100.c index c810cda3bf1f..29f812dc1098 100644 --- a/drivers/net/e100.c +++ b/drivers/net/e100.c | |||
@@ -1512,7 +1512,7 @@ static int e100_phy_init(struct nic *nic) | |||
1512 | 1512 | ||
1513 | static int e100_hw_init(struct nic *nic) | 1513 | static int e100_hw_init(struct nic *nic) |
1514 | { | 1514 | { |
1515 | int err; | 1515 | int err = 0; |
1516 | 1516 | ||
1517 | e100_hw_reset(nic); | 1517 | e100_hw_reset(nic); |
1518 | 1518 | ||