]> git.baikalelectronics.ru Git - kernel.git/commit
IB/rxe: avoid calling WARN_ON_ONCE twice
authorZhu Yanjun <yanjun.zhu@oracle.com>
Thu, 17 May 2018 08:55:22 +0000 (04:55 -0400)
committerJason Gunthorpe <jgg@mellanox.com>
Thu, 17 May 2018 15:16:14 +0000 (09:16 -0600)
commitc06283b0e9378ac22587e83c49da6e4d6dfc26f8
treeb44153806609ea82452a81148609f7a11cc71516
parentb9f86c3864381e15ba43e96ff1f7a722a1f4c688
IB/rxe: avoid calling WARN_ON_ONCE twice

In the exit branch, WARN_ON_ONCE is called to show stack. So it is
not necessary to call WARN_ON_ONCE before going to exit.

Signed-off-by: Zhu Yanjun <yanjun.zhu@oracle.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/sw/rxe/rxe_comp.c