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

Commit 4bc814ab authored by Nithin Sujir's avatar Nithin Sujir Committed by David S. Miller
Browse files

tg3: Remove redundant if check

parent db79e1e9
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -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;
}

static int tg3_set_mac_addr(struct net_device *dev, void *p)