From 76d0724c61ca4104803c5bc76ef39532f9343bca Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <dvlasenk@redhat.com>
To: linux-kernel@vger.kernel.org
Subject: [PATCH] drivers/net/ethernet/cavium/thunder/nicvf_queues.c: Deinline nicvf_sq_add_gather_subdesc, save 160 bytes

This function compiles to 75 bytes of machine code.

Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
---
 drivers/net/ethernet/cavium/thunder/nicvf_queues.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c b/drivers/net/ethernet/cavium/thunder/nicvf_queues.c
index e404ea8..b57c246 100644
--- a/drivers/net/ethernet/cavium/thunder/nicvf_queues.c
+++ b/drivers/net/ethernet/cavium/thunder/nicvf_queues.c
@@ -1012,7 +1012,7 @@ nicvf_sq_add_hdr_subdesc(struct snd_queue *sq, int qentry,
 /* SQ GATHER subdescriptor
  * Must follow HDR descriptor
  */
-static inline void nicvf_sq_add_gather_subdesc(struct snd_queue *sq, int qentry,
+static void nicvf_sq_add_gather_subdesc(struct snd_queue *sq, int qentry,
 					       int size, u64 data)
 {
 	struct sq_gather_subdesc *gather;
-- 
2.1.0

