Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit dca97ad2 authored by Emil Tantilov's avatar Emil Tantilov Committed by Jeff Kirsher
Browse files

e100: fix build warning



In function 'e100_hw_init':
warning: 'err' may be used uninitialized in this function

Signed-off-by: default avatarEmil Tantilov <emil.s.tantilov@intel.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent e67f88dd
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);