net/rds: void function cannot return -1
authorHåkon Bugge <Haakon.Bugge@oracle.com>
Mon, 16 Jul 2018 13:00:09 +0000 (15:00 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 18 Jul 2018 05:43:48 +0000 (14:43 +0900)
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>
net/rds/ib_recv.c

index b4e421aa9727942e0cbe7ba40e11c3d19d937868..e5ce9341926341335583532616591e08b09322cb 100644 (file)
@@ -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)
 {