diff options
| author | Andre Guedes <[email protected]> | 2020-06-04 00:01:01 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2020-06-30 01:21:19 +0000 |
| commit | 29b821fe976910bed20e375f9f3a77454dfcf9bc (patch) | |
| tree | d18494a0c0d28d7281b55c29e05da512d51c5517 /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | igc: Clean up Rx timestamping logic (diff) | |
| download | kernel-29b821fe976910bed20e375f9f3a77454dfcf9bc.tar.gz kernel-29b821fe976910bed20e375f9f3a77454dfcf9bc.zip | |
igc: Remove duplicate code in Tx timestamp handling
The functions igc_ptp_tx_hang() and igc_ptp_tx_work() have duplicate
code which handles Tx timestamp timeouts. This patch does a trivial
refactoring by moving that code to its own function and reusing it.
Signed-off-by: Andre Guedes <[email protected]>
Tested-by: Aaron Brown <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
