aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Auvolat <alex@adnab.me>2022-06-07 18:36:13 +0200
committerAlex Auvolat <alex@adnab.me>2022-06-07 18:36:13 +0200
commit0c0a02ad03eabceed6f213ac9e380ac20841fc17 (patch)
tree22d7e713ac025d84fb7eb5036db29db07a7f4486
parent48928d2d70ac34b0ea639d199a3e5c71322a5fd8 (diff)
downloadgarage-0c0a02ad03eabceed6f213ac9e380ac20841fc17.tar.gz
garage-0c0a02ad03eabceed6f213ac9e380ac20841fc17.zip
Remove useless function
-rw-r--r--src/model/index_counter.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/model/index_counter.rs b/src/model/index_counter.rs
index 48f616f7..2602d5d9 100644
--- a/src/model/index_counter.rs
+++ b/src/model/index_counter.rs
@@ -116,16 +116,6 @@ impl<T: CounterSchema> TableSchema for CounterTable<T> {
type E = CounterEntry<T>;
type Filter = (DeletedFilter, Vec<Uuid>);
- fn updated(
- &self,
- _tx: &mut db::Transaction,
- _old: Option<&Self::E>,
- _new: Option<&Self::E>,
- ) -> db::TxOpResult<()> {
- // nothing for now
- Ok(())
- }
-
fn matches_filter(entry: &Self::E, filter: &Self::Filter) -> bool {
if filter.0 == DeletedFilter::Any {
return true;