remarkable-linux/drivers/infiniband
Roland Dreier d6c7276be1 IB/mlx5: Remove dead code from alloc_cached_mr()
The only place that assigns mr inside the loop already does a break.
So "if (mr)" will never be true here since the function initializes mr
to NULL at the top.  We can just drop the extra if and break here.

Signed-off-by: Roland Dreier <roland@purestorage.com>
Acked-by: Eli Cohen  <eli@mellanox.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
2015-08-28 22:54:47 -04:00
..
core IB/core: Destroy multcast_idr on module exit 2015-07-14 13:20:15 -04:00
hw IB/mlx5: Remove dead code from alloc_cached_mr() 2015-08-28 22:54:47 -04:00
ulp Merge git://git.kernel.org/pub/scm/linux/kernel/git/nab/target-pending 2015-07-29 09:54:40 -07:00
Kconfig
Makefile