summaryrefslogtreecommitdiff
path: root/transaction.h
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2017-07-31 14:54:24 +0100
committerDimitri John Ledkov <xnox@ubuntu.com>2017-07-31 14:54:24 +0100
commit6a0440391da7a99ffab94ccc66264af9b5f3ce34 (patch)
tree1c7cf4f07b08c4965ab19819ebce367be16fb980 /transaction.h
parent5f2e2384443a09e3f1fec71940e9e32b70789102 (diff)
New upstream release.
Diffstat (limited to 'transaction.h')
-rw-r--r--transaction.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/transaction.h b/transaction.h
index 13e09a64..0c41af51 100644
--- a/transaction.h
+++ b/transaction.h
@@ -54,11 +54,4 @@ btrfs_start_transaction(struct btrfs_root *root, int num_blocks)
return h;
}
-static inline void btrfs_free_transaction(struct btrfs_root *root,
- struct btrfs_trans_handle *handle)
-{
- memset(handle, 0, sizeof(*handle));
- free(handle);
-}
-
#endif