Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295178
b: refs/heads/master
c: 1a07cbb
h: refs/heads/master
v: v3
  • Loading branch information
Akinobu Mita authored and Linus Torvalds committed Mar 23, 2012
1 parent d3d22f1 commit d2507f3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: fc89db4b789fc9edf88440f6896f04a879ed3b46
refs/heads/master: 1a07cbba1425ec7215854cfaa9a8df66047cfb57
6 changes: 2 additions & 4 deletions trunk/drivers/uwb/allocator.c
Original file line number Diff line number Diff line change
Expand Up @@ -334,10 +334,8 @@ int uwb_rsv_find_best_allocation(struct uwb_rsv *rsv, struct uwb_mas_bm *availab


/* fill the not available vector from the available bm */
for (bit_index = 0; bit_index < UWB_NUM_MAS; bit_index++) {
if (!test_bit(bit_index, available->bm))
ai->bm[bit_index] = UWB_RSV_MAS_NOT_AVAIL;
}
for_each_clear_bit(bit_index, available->bm, UWB_NUM_MAS)
ai->bm[bit_index] = UWB_RSV_MAS_NOT_AVAIL;

if (ai->max_interval == 1) {
get_row_descriptors(ai);
Expand Down

0 comments on commit d2507f3

Please sign in to comment.