mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-01-20 01:37:45 +07: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…
Reference in New Issue
Block a user