Commit ac7c1c5a authored by Jean Sacren's avatar Jean Sacren Committed by 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: default avatarJean Sacren <sakiwit@gmail.com>
Tested-by: default avatarAaron Brown <aaron.f.brown@intel.com>
Signed-off-by: default avatarJeff Kirsher <jeffrey.t.kirsher@intel.com>
parent 8cfb879d
...@@ -874,7 +874,7 @@ static int e100_exec_cb(struct nic *nic, struct sk_buff *skb, ...@@ -874,7 +874,7 @@ static int e100_exec_cb(struct nic *nic, struct sk_buff *skb,
{ {
struct cb *cb; struct cb *cb;
unsigned long flags; unsigned long flags;
int err = 0; int err;
spin_lock_irqsave(&nic->cb_lock, flags); spin_lock_irqsave(&nic->cb_lock, flags);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment