]> git.baikalelectronics.ru Git - kernel.git/commit
cxgb4: Remove some dead code
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Sat, 10 Jun 2017 09:19:20 +0000 (11:19 +0200)
committerDoug Ledford <dledford@redhat.com>
Thu, 17 Aug 2017 22:06:37 +0000 (18:06 -0400)
commitbe06e93d9c973e2381f02739a4ed09045a97b92e
tree6644958dd8a2ee85a5f104156525a594a6d97461
parent14d22ef8941bd2289e511668715c5e0ef97018bd
cxgb4: Remove some dead code

This 'BUG_ON(!ep)' can never trigger because we have:
   if (!ep)
      return 0;
just a few lines above. So it can be removed safely.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Steve Wise <swise@opengridcomputing.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/cxgb4/cm.c