* bitmap.c (bitmap_find_bit): Remove useless test.

From-SVN: r236546
This commit is contained in:
Jeff Law 2016-05-20 15:32:56 -06:00 committed by Jeff Law
parent e93044fc02
commit aa6d7407f9
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
2016-05-20 Jeff Law <law@redhat.com>
* bitmap.c (bitmap_find_bit): Remove useless test.
2016-05-20 Segher Boessenkool <segher@kernel.crashing.org>
* function.c (thread_prologue_and_epilogue_insns): Commit the

View File

@ -556,7 +556,7 @@ bitmap_find_bit (bitmap head, unsigned int bit)
want, the one we want doesn't exist. */
head->current = element;
head->indx = element->indx;
if (element != 0 && element->indx != indx)
if (element->indx != indx)
element = 0;
return element;