diff options
| author | Kohei Enju <[email protected]> | 2025-06-12 16:13:40 +0000 |
|---|---|---|
| committer | Tony Nguyen <[email protected]> | 2025-07-03 16:39:04 +0000 |
| commit | 9ebca2374dbb194a358bdd8a32c1cf9227a7a490 (patch) | |
| tree | 02aabffbd86c7fd137a57d62a2bf62cf8631cb8c /drivers/net/ethernet/intel/igc/igc_main.c | |
| parent | ixgbe: spelling corrections (diff) | |
| download | kernel-9ebca2374dbb194a358bdd8a32c1cf9227a7a490.tar.gz kernel-9ebca2374dbb194a358bdd8a32c1cf9227a7a490.zip | |
igbvf: remove unused interrupt counter fields from struct igbvf_adapter
Remove `int_counter0` and `int_counter1` from struct igbvf_adapter since
they are only incremented in interrupt handlers igbvf_intr_msix_rx() and
igbvf_msix_other(), but never read or used anywhere in the driver.
Note that igbvf_intr_msix_tx() does not have similar counter increments,
suggesting that these were likely overlooked during development.
Eliminate the fields and their unnecessary accesses in interrupt
handlers.
Tested-by: Kohei Enju <[email protected]>
Signed-off-by: Kohei Enju <[email protected]>
Reviewed-by: Aleksandr Loktionov <[email protected]>
Signed-off-by: Tony Nguyen <[email protected]>
Diffstat (limited to 'drivers/net/ethernet/intel/igc/igc_main.c')
0 files changed, 0 insertions, 0 deletions
