diff options
author | Jean Sacren <sakiwit@gmail.com> | 2015-05-02 09:49:26 +0200 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-05-04 10:18:06 +0200 |
commit | ac7c1c5af946e0f9fa6555c48c55236bae175042 (patch) | |
tree | 1d8def9dece71fa7edce3f9c20f046af687b478d /drivers/net/ethernet/intel/e100.c | |
parent | igb: simplify and clean up igb_enable_mas() (diff) | |
download | linux-ac7c1c5af946e0f9fa6555c48c55236bae175042.tar.xz linux-ac7c1c5af946e0f9fa6555c48c55236bae175042.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/intel/e100.c')
-rw-r--r-- | drivers/net/ethernet/intel/e100.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/ethernet/intel/e100.c b/drivers/net/ethernet/intel/e100.c index 1a450f4b6b12..35357ae2fe75 100644 --- a/drivers/net/ethernet/intel/e100.c +++ b/drivers/net/ethernet/intel/e100.c @@ -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); |