diff options
author | Jean Sacren <sakiwit@gmail.com> | 2015-05-02 00:49:26 -0700 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2015-05-04 01:18:06 -0700 |
commit | ac7c1c5af946e0f9fa6555c48c55236bae175042 (patch) | |
tree | 1d8def9dece71fa7edce3f9c20f046af687b478d | |
parent | 8cfb879d1b118e190bf9aea1b50da62c0d8a4a77 (diff) | |
download | linux-stable-ac7c1c5af946e0f9fa6555c48c55236bae175042.tar.gz linux-stable-ac7c1c5af946e0f9fa6555c48c55236bae175042.tar.bz2 linux-stable-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>
-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); |