提交 bfd42711 编写于 作者: H Håkon Bugge 提交者: David S. Miller

net/rds: void function cannot return -1

Commit b6fb0df1 ("RDS/IB: Make ib_recv_refill return void") did
not change the comment accordingly.

Fixes: b6fb0df1 ("RDS/IB: Make ib_recv_refill return void")
Signed-off-by: NHåkon Bugge <haakon.bugge@oracle.com>
Acked-by: NSantosh Shilimkar <santosh.shilimkar@oracle.ccom>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 db53770a
...@@ -376,8 +376,6 @@ static void release_refill(struct rds_connection *conn) ...@@ -376,8 +376,6 @@ static void release_refill(struct rds_connection *conn)
* This tries to allocate and post unused work requests after making sure that * This tries to allocate and post unused work requests after making sure that
* they have all the allocations they need to queue received fragments into * they have all the allocations they need to queue received fragments into
* sockets. * sockets.
*
* -1 is returned if posting fails due to temporary resource exhaustion.
*/ */
void rds_ib_recv_refill(struct rds_connection *conn, int prefill, gfp_t gfp) void rds_ib_recv_refill(struct rds_connection *conn, int prefill, gfp_t gfp)
{ {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册