summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-transaction.c
diff options
context:
space:
mode:
Diffstat (limited to 'xlators/cluster/afr/src/afr-transaction.c')
-rw-r--r--xlators/cluster/afr/src/afr-transaction.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/xlators/cluster/afr/src/afr-transaction.c b/xlators/cluster/afr/src/afr-transaction.c
index f81932b0c8c..4906921ca6a 100644
--- a/xlators/cluster/afr/src/afr-transaction.c
+++ b/xlators/cluster/afr/src/afr-transaction.c
@@ -136,14 +136,6 @@ afr_needs_changelog_update (afr_local_t *local)
return _gf_false;
}
-static int32_t
-afr_quorum_errno (afr_private_t *priv)
-{
- if (priv->quorum_reads)
- return ENOTCONN;
- return EROFS;
-}
-
int
__afr_txn_write_fop (call_frame_t *frame, xlator_t *this)
{