On Tue, Jul 05, 2022 at 10:52:11PM +0800, Xiao Yang wrote: > It's redundant to prepare resources for Read and Atomic > requests by different functions. Replace them by a common > rxe_prepare_res() with different parameters. In addition, > the common rxe_prepare_res() can also be used by new Flush > and Atomic Write requests in the future. > > Signed-off-by: Xiao Yang <yangx.jy@xxxxxxxxxxx> > --- > drivers/infiniband/sw/rxe/rxe_resp.c | 71 +++++++++++++--------------- > 1 file changed, 32 insertions(+), 39 deletions(-) > Thanks, applied.