[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <1460141926-13069-1-git-send-email-dvlasenk@redhat.com>
Date: Fri, 8 Apr 2016 20:58:42 +0200
From: Denys Vlasenko <dvlasenk@...hat.com>
To: Faisal Latif <faisal.latif@...el.com>
Cc: Denys Vlasenko <dvlasenk@...hat.com>,
Doug Ledford <dledford@...hat.com>, linux-rdma@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH] drivers/infiniband/hw/nes/nes_verbs.c: Deinline nes_free_qp_mem, save 1072 bytes
This function compiles to 550 bytes of machine code.
Three callsites, all in nes_create_qp.
Signed-off-by: Denys Vlasenko <dvlasenk@...hat.com>
CC: Faisal Latif <faisal.latif@...el.com>
CC: Doug Ledford <dledford@...hat.com>
CC: linux-rdma@...r.kernel.org
CC: linux-kernel@...r.kernel.org
---
drivers/infiniband/hw/nes/nes_verbs.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/infiniband/hw/nes/nes_verbs.c b/drivers/infiniband/hw/nes/nes_verbs.c
index fba69a3..5f48d08 100644
--- a/drivers/infiniband/hw/nes/nes_verbs.c
+++ b/drivers/infiniband/hw/nes/nes_verbs.c
@@ -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.
*/
-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)
{
unsigned long flags;
--
2.1.0
Powered by blists - more mailing lists