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

From: kbuild test robot
Date: Wed Mar 25 2015 - 11:53:44 EST



Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---
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 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;
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/