tg3: Remove redundant if check

Signed-off-by: Nithin Nayak Sujir <nsujir@broadcom.com>
Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
Nithin Sujir 2013-09-20 16:46:59 -07:00 committed by David S. Miller
parent db79e1e93e
commit 4bc814ab71

View File

@ -9203,10 +9203,7 @@ static int tg3_halt(struct tg3 *tp, int kind, bool silent)
memset(tp->hw_stats, 0, sizeof(struct tg3_hw_stats));
}
if (err)
return err;
return 0;
return err;
}
static int tg3_set_mac_addr(struct net_device *dev, void *p)