]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - lib_ppc/extable.c
* Code cleanup:
[people/ms/u-boot.git] / lib_ppc / extable.c
index 2f90df0be89b93ccf36ed00cc0e7ab2d4396a073..d92f14270ef189fc80fa02f8b0ce2443478c116f 100644 (file)
@@ -50,20 +50,20 @@ search_one_table(const struct exception_table_entry *first,
                 const struct exception_table_entry *last,
                 unsigned long value)
 {
-        while (first <= last) {
+       while (first <= last) {
                const struct exception_table_entry *mid;
                long diff;
 
                mid = (last - first) / 2 + first;
                diff = mid->insn - value;
-                if (diff == 0)
-                        return mid->fixup;
-                else if (diff < 0)
-                        first = mid+1;
-                else
-                        last = mid-1;
-        }
-        return 0;
+               if (diff == 0)
+                       return mid->fixup;
+               else if (diff < 0)
+                       first = mid+1;
+               else
+                       last = mid-1;
+       }
+       return 0;
 }
 
 int    ex_tab_message = 1;