diff options
author | Zhu Yanjun <yanjun.zhu@oracle.com> | 2018-06-14 05:45:42 -0400 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-06-18 13:16:30 -0600 |
commit | b90575ce7b84483d46ebedd5c164e5f274f7ce5a (patch) | |
tree | 5a297a96e7c0f1cce7a25b753b42122087024861 /drivers/rapidio | |
parent | 92cf36eec2a76d8fe61d439cd2b3ebbf33029477 (diff) | |
download | talos-obmc-linux-b90575ce7b84483d46ebedd5c164e5f274f7ce5a.tar.gz talos-obmc-linux-b90575ce7b84483d46ebedd5c164e5f274f7ce5a.zip |
IB/rxe: avoid unnecessary NULL check
Before goto err2, the variable qp is checked. So it is not necessary
to check qp in label err2.
Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Reviewed-by: Yuval Shaia <yuval.shaia@oracle.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/rapidio')
0 files changed, 0 insertions, 0 deletions