提交 dca97ad2 编写于 作者: E Emil Tantilov 提交者: Jeff Kirsher

e100: fix build warning

In function 'e100_hw_init':
warning: 'err' may be used uninitialized in this function
Signed-off-by: NEmil Tantilov <emil.s.tantilov@intel.com>
Tested-by: NAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 e67f88dd
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册