lkml.org 
[lkml]   [2015]   [Mar]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH amirv] IB/ipoib: Use napi api in TX flow [ib-next: ipoib_tx_poll() can be static

Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
ipoib_ib.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ib.c b/drivers/infiniband/ulp/ipoib/ipoib_ib.c
index 8b7584a..57ce990 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_ib.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_ib.c
@@ -421,7 +421,7 @@ poll_more:
return done;
}

-int ipoib_tx_poll(struct napi_struct *napi, int budget)
+static int ipoib_tx_poll(struct napi_struct *napi, int budget)
{
struct net_device *dev;
int n, i;

\
 
 \ /
  Last update: 2015-03-25 17:21    [W:0.180 / U:0.240 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site