Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bfd42711 authored by Håkon Bugge's avatar Håkon Bugge Committed by David S. Miller
Browse files

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: default avatarHåkon Bugge <haakon.bugge@oracle.com>
Acked-by: default avatarSantosh Shilimkar <santosh.shilimkar@oracle.ccom>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent db53770a
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)
{