diff options
author | Guoqing Jiang <guoqing.jiang@cloud.ionos.com> | 2021-03-25 16:32:53 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-04-01 15:39:55 -0300 |
commit | 44930991f2f27e201c5790de8084927d487c2a27 (patch) | |
tree | 15c5b2c30fb93ccea6508c555d45689cbb378ff5 /net/rds | |
parent | 0adb3ad609f71193cec782fc4a2b7dcfb1b042ee (diff) | |
download | linux-44930991f2f27e201c5790de8084927d487c2a27.tar.gz linux-44930991f2f27e201c5790de8084927d487c2a27.tar.bz2 linux-44930991f2f27e201c5790de8084927d487c2a27.zip |
RDMA/rtrs-clt: Remove redundant code from rtrs_clt_read_req
There is no need to dereference 's' from 'sess', since we have "sess =
to_clt_sess(s)" before.
And we can deference 'dev' from 's' earlier.
Link: https://lore.kernel.org/r/20210325153308.1214057-8-gi-oh.kim@ionos.com
Signed-off-by: Guoqing Jiang <guoqing.jiang@ionos.com>
Reviewed-by: Danil Kipnis <danil.kipnis@ionos.com>
Signed-off-by: Gioh Kim <gi-oh.kim@ionos.com>
Signed-off-by: Jack Wang <jinpu.wang@ionos.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'net/rds')
0 files changed, 0 insertions, 0 deletions