|
@@ -981,7 +981,7 @@ static int nes_setup_mmap_qp(struct nes_qp *nesqp, struct nes_vnic *nesvnic,
|
|
/**
|
|
/**
|
|
* nes_free_qp_mem() is to free up the qp's pci_alloc_consistent() memory.
|
|
* nes_free_qp_mem() is to free up the qp's pci_alloc_consistent() memory.
|
|
*/
|
|
*/
|
|
-static inline void nes_free_qp_mem(struct nes_device *nesdev,
|
|
|
|
|
|
+static void nes_free_qp_mem(struct nes_device *nesdev,
|
|
struct nes_qp *nesqp, int virt_wqs)
|
|
struct nes_qp *nesqp, int virt_wqs)
|
|
{
|
|
{
|
|
unsigned long flags;
|
|
unsigned long flags;
|