net/i40e: revert fix of flow director check
[dpdk.git] / drivers / net / i40e / i40e_fdir.c
index 2b299c7..d41601a 100644 (file)
@@ -1360,8 +1360,6 @@ i40e_check_fdir_programming_status(struct i40e_rx_queue *rxq)
                        I40E_PCI_REG_WRITE(rxq->qrx_tail, rxq->nb_rx_desc - 1);
                else
                        I40E_PCI_REG_WRITE(rxq->qrx_tail, rxq->rx_tail - 1);
-       } else {
-               ret = -1;
        }
 
        return ret;