]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/kern/btlog.c
xnu-6153.11.26.tar.gz
[apple/xnu.git] / osfmk / kern / btlog.c
index 584be02cf5532d1a6115c32522761a03cead0b64..93f6e31176d033e5563613aa9580eed05c5f6841 100644 (file)
@@ -157,7 +157,6 @@ lookup_btrecord_byhash(btlog_t *btlog, uint32_t md5_hash, void *bt[], size_t btc
        recindex = btlog->head;
        record = lookup_btrecord(btlog, recindex);
        while (recindex != BTLOG_RECORDINDEX_NONE) {
-               assert(record->bthash);
                assert(!TAILQ_EMPTY(&record->element_record_queue));
                if (record->bthash == md5_hash) {
                        /*
@@ -677,8 +676,6 @@ retry:
        hashidx = calculate_hashidx_for_element((uintptr_t)element, btlog);
        hashelem = btlog_get_elem_from_freelist(btlog);
 
-       assert(record->bthash);
-
        hashelem->elem = ~((uintptr_t)element);
        hashelem->operation = record->operation;
        hashelem->recindex = recindex;