IB/iser: Inline two work request conversion functions
authorBart Van Assche <bart.vanassche@wdc.com>
Wed, 18 Jul 2018 16:25:13 +0000 (09:25 -0700)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 31 Jul 2018 01:59:40 +0000 (19:59 -0600)
commit3e081b773e4c892c1ba2515184072327db9fb29a
tree344fbac94d2278638b74e13b07b27a6e66c34e33
parent7aaa1807e698f73094b78f0ef25b1a37a4409a55
IB/iser: Inline two work request conversion functions

Since the next patch will change the return type of these functions into a
const pointer and since the iSER driver modifies the work request these
functions return a pointer two, inline two work request conversion
function calls. This patch does not change any functionality.

Signed-off-by: Bart Van Assche <bart.vanassche@wdc.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/ulp/iser/iser_memory.c