diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2015-12-02 05:57:02 +0000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2015-12-02 05:57:02 +0000 |
commit | ba0b7f26cf8ba5b6e1434fb6f1500726e25f489f (patch) | |
tree | f79cbc092142ca64160db5aa4198d13753c02702 | |
parent | 6feaa2812e1c02fe4b74bcd6c6baeda9f310899b (diff) | |
download | mongo-ba0b7f26cf8ba5b6e1434fb6f1500726e25f489f.tar.gz |
Remove redundant function I missed in merge of SERVER-21553
-rw-r--r-- | src/include/btree.i | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/include/btree.i b/src/include/btree.i index 271284f85a6..4029b29d207 100644 --- a/src/include/btree.i +++ b/src/include/btree.i @@ -445,22 +445,6 @@ __wt_off_page(WT_PAGE *page, const void *p) } /* - * __wt_ref_free_addr -- - * Free the address in a reference, if necessary. - */ -static inline void -__wt_ref_free_addr(WT_SESSION_IMPL *session, WT_REF *ref) -{ - if (ref->addr != NULL) { - if (ref->home == NULL || __wt_off_page(ref->home, ref->addr)) { - __wt_free(session, ((WT_ADDR *)ref->addr)->addr); - __wt_free(session, ref->addr); - } else - ref->addr = NULL; - } -} - -/* * __wt_ref_key -- * Return a reference to a row-store internal page key as cheaply as * possible. |