From: Jean Sacren Date: Sat, 2 May 2015 07:49:26 +0000 (-0700) Subject: e100: don't initialize int object to zero X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ac7c1c5af946e0f9fa6555c48c55236bae175042;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Tested-by: Aaron Brown Signed-off-by: Jeff Kirsher --- 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);