mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-15 01:24:33 +00:00
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:
parent
e67f88dd12
commit
dca97ad2ec
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user