Skip to content

Commit

Permalink
be2net: remove unused old AIC info
Browse files Browse the repository at this point in the history
The commit 2632baf ("be2net: fix adaptive interrupt coalescing")
introduced a separate struct be_aic_obj to hold AIC information but
unfortunately left the old stuff in be_eq_obj. So remove it.

Fixes: 2632baf ("be2net: fix adaptive interrupt coalescing")
Signed-off-by: Ivan Vecera <cera@cera.cz>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Ivan Vecera authored and David S. Miller committed Jul 12, 2018
1 parent d0c694f commit a5d7fcb
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions drivers/net/ethernet/emulex/benet/be.h
Original file line number Diff line number Diff line change
Expand Up @@ -187,13 +187,6 @@ struct be_eq_obj {
struct be_queue_info q;
char desc[32];

/* Adaptive interrupt coalescing (AIC) info */
bool enable_aic;
u32 min_eqd; /* in usecs */
u32 max_eqd; /* in usecs */
u32 eqd; /* configured val when aic is off */
u32 cur_eqd; /* in usecs */

u8 idx; /* array index */
u8 msix_idx;
u16 spurious_intr;
Expand Down

0 comments on commit a5d7fcb

Please sign in to comment.