diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-08-19 10:04:01 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-08-30 23:31:50 +0300 |
commit | 8b7b59d030cc0d34b83b0c556bb6365c9ae6ba77 (patch) | |
tree | 80b7464c2fe20ca6594ca3711e657142483550d4 /drivers/infiniband/sw/rxe/rxe_resp.c | |
parent | d3c04a3a6870a4b96ee213d99b4f4ca723e64025 (diff) | |
download | linux-8b7b59d030cc0d34b83b0c556bb6365c9ae6ba77.tar.xz |
IB/rxe: remove redudant qpn check
In the commit 536ca245c512 ("IB/rxe: Drop QP0 silently"), if qpn is
zero, the function directly returns. So in the following function,
it is not necessary to check qpn. The qpn check in the function
check_keys is removed.
Fixes: 536ca245c512 ("IB/rxe: Drop QP0 silently")
CC: Srinivas Eeda <srinivas.eeda@oracle.com>
CC: Junxiao Bi <junxiao.bi@oracle.com>
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_resp.c')
0 files changed, 0 insertions, 0 deletions