diff options
author | Dean Luick <dean.luick@intel.com> | 2016-07-28 19:27:36 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-08-03 05:46:21 +0300 |
commit | 20a42d08331c888207d81d8e4713e18250ac49cf (patch) | |
tree | 57f019e8a0162b06d8c6b44e56d2d66c091efcf9 /drivers/infiniband/hw/hfi1/common.h | |
parent | ea3a0ee52db0c2ec8d1d0ecdd21e650e6e183085 (diff) | |
download | linux-20a42d08331c888207d81d8e4713e18250ac49cf.tar.xz |
IB/hfi1: Remove unneeded empty check in hfi1_mmu_rb_unregister()
Checking if the rb tree is empty is redundant with the while loop which is
emptying the rb tree.
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Signed-off-by: Dean Luick <dean.luick@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/common.h')
0 files changed, 0 insertions, 0 deletions