Commit 9ebca237 authored by Kohei Enju's avatar Kohei Enju Committed by Tony Nguyen
Browse files

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: default avatarKohei Enju <enjuk@amazon.com>
Signed-off-by: default avatarKohei Enju <enjuk@amazon.com>
Reviewed-by: default avatarAleksandr Loktionov <aleksandr.loktionov@intel.com>
Signed-off-by: default avatarTony Nguyen <anthony.l.nguyen@intel.com>
parent b91c0e4d
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment