]> asedeno.scripts.mit.edu Git - linux.git/commit
IB/rxe: avoid unnecessary NULL check
authorZhu Yanjun <yanjun.zhu@oracle.com>
Thu, 14 Jun 2018 09:45:42 +0000 (05:45 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Jun 2018 19:16:30 +0000 (13:16 -0600)
commitb90575ce7b84483d46ebedd5c164e5f274f7ce5a
tree5a297a96e7c0f1cce7a25b753b42122087024861
parent92cf36eec2a76d8fe61d439cd2b3ebbf33029477
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>
drivers/infiniband/sw/rxe/rxe_recv.c