aboutsummaryrefslogtreecommitdiff
path: root/drivers/fpga/fpga-mgr.c
diff options
context:
space:
mode:
authorVladimir Oltean <[email protected]>2021-10-20 20:42:19 +0300
committerJakub Kicinski <[email protected]>2021-10-21 15:35:50 -0700
commitae77bdbc2fc63bdaa58b64ed06c51e4052631902 (patch)
tree167d847585947d21bd97fee6dad3f0e604749457 /drivers/fpga/fpga-mgr.c
parent50af5969bb22bb8ea757f87934c2478715afa854 (diff)
net: enetc: remove local "priv" variable in enetc_clean_tx_ring()
The "priv" variable is needed in the "check_writeback" scope since commit d39823121911 ("enetc: add hardware timestamping support"). Since commit 7294380c5211 ("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 <[email protected]> Reviewed-by: Claudiu Manoil <[email protected]> Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions