Files
linux/drivers/net
Vladimir Oltean ae77bdbc2f net: enetc: remove local "priv" variable in enetc_clean_tx_ring()
The "priv" variable is needed in the "check_writeback" scope since
commit d398231219 ("enetc: add hardware timestamping support").

Since commit 7294380c52 ("enetc: support PTP Sync packet one-step
timestamping"), we also need "priv" in the larger function scope.

So the local variable from the "if" block scope is not needed, and
actually shadows the other one. Delete it.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: Claudiu Manoil <claudiu.manoil@nxp.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2021-10-21 15:35:50 -07:00
..
2021-10-09 11:55:01 +01:00
2021-10-02 14:18:26 +01:00
2021-10-09 11:55:01 +01:00
2021-10-09 11:55:01 +01:00
2021-10-09 11:55:01 +01:00
2021-10-14 23:06:28 +02:00
2021-10-09 11:55:01 +01:00
2021-10-09 11:55:01 +01:00