mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue