提交 ac7c1c5a 编写于 作者: J Jean Sacren 提交者: Jeff Kirsher

e100: don't initialize int object to zero

'err' will be overwritten so no need to initialize it to zero.
Signed-off-by: NJean Sacren <sakiwit@gmail.com>
Tested-by: NAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: NJeff Kirsher <jeffrey.t.kirsher@intel.com>
上级 8cfb879d
......@@ -874,7 +874,7 @@ static int e100_exec_cb(struct nic *nic, struct sk_buff *skb,
{
struct cb *cb;
unsigned long flags;
int err = 0;
int err;
spin_lock_irqsave(&nic->cb_lock, flags);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册