diff options
Diffstat (limited to 'include/linux/net_dim.h')
| -rw-r--r-- | include/linux/net_dim.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/net_dim.h b/include/linux/net_dim.h index db99240d00bd..c79e859408e6 100644 --- a/include/linux/net_dim.h +++ b/include/linux/net_dim.h | |||
| @@ -363,7 +363,6 @@ static inline void net_dim_sample(u16 event_ctr, | |||
| 363 | } | 363 | } |
| 364 | 364 | ||
| 365 | #define NET_DIM_NEVENTS 64 | 365 | #define NET_DIM_NEVENTS 64 |
| 366 | #define BITS_PER_TYPE(type) (sizeof(type) * BITS_PER_BYTE) | ||
| 367 | #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) & (BIT_ULL(bits) - 1)) | 366 | #define BIT_GAP(bits, end, start) ((((end) - (start)) + BIT_ULL(bits)) & (BIT_ULL(bits) - 1)) |
| 368 | 367 | ||
| 369 | static inline void net_dim_calc_stats(struct net_dim_sample *start, | 368 | static inline void net_dim_calc_stats(struct net_dim_sample *start, |
