diff mbox

[amirv] IB/ipoib: Prepare the napi in the RX flow [ib-next: ipoib_rx_poll() can be static

Message ID 20150325155333.GA54248@lkp-sb04 (mailing list archive)
State Rejected
Headers show

Commit Message

Fengguang Wu March 25, 2015, 3:53 p.m. UTC
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---
 ipoib_ib.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/drivers/infiniband/ulp/ipoib/ipoib_ib.c b/drivers/infiniband/ulp/ipoib/ipoib_ib.c
index af52a01..8f31a93 100644
--- a/drivers/infiniband/ulp/ipoib/ipoib_ib.c
+++ b/drivers/infiniband/ulp/ipoib/ipoib_ib.c
@@ -375,7 +375,7 @@  static int poll_tx(struct ipoib_dev_priv *priv)
 	return n == MAX_SEND_CQE;
 }
 
-int ipoib_rx_poll(struct napi_struct *napi, int budget)
+static int ipoib_rx_poll(struct napi_struct *napi, int budget)
 {
 	struct ipoib_dev_priv *priv = container_of(napi, struct ipoib_dev_priv, napi_rx);
 	struct net_device *dev = priv->dev;