Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 78c6146f authored by Eric Dumazet's avatar Eric Dumazet Committed by David S. Miller
Browse files

tg3: sparse cleanup



Fix the following sparse warning :

drivers/net/tg3.c:4025:3: warning: context imbalance in 'tg3_restart_hw' 
- unexpected unlock

Signed-off-by: default avatarEric Dumazet <dada1@cosmosbay.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 1a98d05f
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -4017,6 +4017,8 @@ static int tg3_halt(struct tg3 *, int, int);
 * Invoked with tp->lock held.
 */
static int tg3_restart_hw(struct tg3 *tp, int reset_phy)
	__releases(tp->lock)
	__acquires(tp->lock)
{
	int err;