btrfs: cleanup the useless DEFINE_WAIT in cleanup_transaction
[sfrench/cifs-2.6.git] / fs / btrfs / transaction.c
index f92c0a88c4adcec6ef783c106bd18ea78dc5bd52..67e84939b758e5095c4e140104c98d5e7304e91c 100644 (file)
@@ -1840,7 +1840,6 @@ static void cleanup_transaction(struct btrfs_trans_handle *trans, int err)
 {
        struct btrfs_fs_info *fs_info = trans->fs_info;
        struct btrfs_transaction *cur_trans = trans->transaction;
-       DEFINE_WAIT(wait);
 
        WARN_ON(refcount_read(&trans->use_count) > 1);