git.droids-corp.org
/
dpdk.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
mlx5: support RSS hash update and get
[dpdk.git]
/
drivers
/
net
/
bnx2x
/
bnx2x_stats.c
diff --git
a/drivers/net/bnx2x/bnx2x_stats.c
b/drivers/net/bnx2x/bnx2x_stats.c
index
f9819ef
..
80260f0
100644
(file)
--- a/
drivers/net/bnx2x/bnx2x_stats.c
+++ b/
drivers/net/bnx2x/bnx2x_stats.c
@@
-43,18
+43,6
@@
#define BITS_PER_LONG 64
#endif
#define BITS_PER_LONG 64
#endif
-static inline long
-bnx2x_hilo(uint32_t *hiref)
-{
- uint32_t lo = *(hiref + 1);
-#if (BITS_PER_LONG == 64)
- uint32_t hi = *hiref;
- return HILO_U64(hi, lo);
-#else
- return lo;
-#endif
-}
-
static inline uint16_t
bnx2x_get_port_stats_dma_len(struct bnx2x_softc *sc)
{
static inline uint16_t
bnx2x_get_port_stats_dma_len(struct bnx2x_softc *sc)
{