i40evf: fix RSS with less Rx queues than Tx queues
[dpdk.git] / drivers / net / i40e / i40e_ethdev.c
index c855af2..40b0526 100644 (file)
@@ -303,14 +303,6 @@ static struct eth_driver rte_i40e_pmd = {
        .dev_private_size = sizeof(struct i40e_adapter),
 };
 
-static inline int
-i40e_align_floor(int n)
-{
-       if (n == 0)
-               return 0;
-       return (1 << (sizeof(n) * CHAR_BIT - 1 - __builtin_clz(n)));
-}
-
 static inline int
 rte_i40e_dev_atomic_read_link_status(struct rte_eth_dev *dev,
                                     struct rte_eth_link *link)