e100: don't initialize int object to zero
'err' will be overwritten so no need to initialize it to zero. Signed-off-by: Jean Sacren <sakiwit@gmail.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
8cfb879d1b
commit
ac7c1c5af9
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user