RDMA/mad: Delete inaccessible BUG_ON
authorLeon Romanovsky <leonro@mellanox.com>
Tue, 29 May 2018 11:56:18 +0000 (14:56 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 1 Jun 2018 15:16:23 +0000 (11:16 -0400)
commitdee92c4bf53b2701d382ce9e32c57d194a393bfe
tree74e2d3533b6d3ef60b56f8ac5c938740374818ad
parent671a6cc2ba05aa97ee5afe3479f1bdba2436970d
RDMA/mad: Delete inaccessible BUG_ON

There is no need to check existence of mad_queue, because we already did
pointer dereference before call to dequeue_mad().

Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/mad.c