Remove unused function mana_reset_counters.
This fixes the build warning caused by this function. Reported by: markj Tested by: whu MFC after: 2 weeks Sponsored by: Microsoft
This commit is contained in:
parent
ec97e9ca1f
commit
f12b1b8b47
@ -279,15 +279,6 @@ mana_free_counters(counter_u64_t *begin, int size)
|
||||
counter_u64_free(*begin);
|
||||
}
|
||||
|
||||
static inline void
|
||||
mana_reset_counters(counter_u64_t *begin, int size)
|
||||
{
|
||||
counter_u64_t *end = (counter_u64_t *)((char *)begin + size);
|
||||
|
||||
for (; begin < end; ++begin)
|
||||
counter_u64_zero(*begin);
|
||||
}
|
||||
|
||||
static bool
|
||||
mana_can_tx(struct gdma_queue *wq)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user