diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2011-04-27 08:51:29 +0000 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2011-05-04 12:01:24 -0700 |
commit | dca97ad2ec37aa98c45dfe1d531d9ba7048e814e (patch) | |
tree | 190cb6c3a28d0bd7b99e2b86c8b92816f663d5a6 /drivers/net/e100.c | |
parent | e67f88dd12f610da98ca838822f2c9b4e7c6100e (diff) | |
download | linux-dca97ad2ec37aa98c45dfe1d531d9ba7048e814e.tar.gz |
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/net/e100.c')
-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) static int e100_hw_init(struct nic *nic) { - int err; + int err = 0; e100_hw_reset(nic); |