staging/rdma/hfi1: Remove else after break

Remove else after break to fix checkpatch warning:
WARNING: else is not generally useful after a break or return

Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com>
Signed-off-by: Jubin John <jubin.john@intel.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
This commit is contained in:
Jubin John 2016-02-14 20:22:09 -08:00 committed by Doug Ledford
parent e490974e67
commit edddfca00e
1 changed files with 2 additions and 4 deletions

View File

@ -329,11 +329,9 @@ __be32 hfi1_compute_aeth(struct rvt_qp *qp)
if (credit_table[x] > credits) {
max = x;
} else {
if (min == x) {
if (min == x)
break;
} else {
min = x;
}
min = x;
}
}
aeth |= x << HFI1_AETH_CREDIT_SHIFT;