aboutsummaryrefslogtreecommitdiffstats
path: root/net/rds
diff options
context:
space:
mode:
authorHåkon Bugge <Haakon.Bugge@oracle.com>2018-07-16 15:00:09 +0200
committerDavid S. Miller <davem@davemloft.net>2018-07-18 14:43:48 +0900
commitbfd4271169176766343026bf324337e529d81fa4 (patch)
tree5b2cbd7d9eb8e2fc07c68bc653e29e0c021638f6 /net/rds
parentdsa: rtl8366: Remove unused variable. (diff)
downloadlinux-dev-bfd4271169176766343026bf324337e529d81fa4.tar.xz
linux-dev-bfd4271169176766343026bf324337e529d81fa4.zip
net/rds: void function cannot return -1
Commit b6fb0df12db6 ("RDS/IB: Make ib_recv_refill return void") did not change the comment accordingly. Fixes: b6fb0df12db6 ("RDS/IB: Make ib_recv_refill return void") Signed-off-by: Håkon Bugge <haakon.bugge@oracle.com> Acked-by: Santosh Shilimkar <santosh.shilimkar@oracle.ccom> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/rds')
-rw-r--r--net/rds/ib_recv.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/net/rds/ib_recv.c b/net/rds/ib_recv.c
index b4e421aa9727..e5ce93419263 100644
--- a/net/rds/ib_recv.c
+++ b/net/rds/ib_recv.c
@@ -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
* they have all the allocations they need to queue received fragments into
* 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)
{