diff --git a/mfs/system.go b/mfs/system.go index 67f60d5d986..b5d3e237d07 100644 --- a/mfs/system.go +++ b/mfs/system.go @@ -113,20 +113,6 @@ func (kr *Root) GetValue() FSNode { return kr.val } -// Flush signals that an update has occurred since the last publish, -// and updates the Root republisher. -func (kr *Root) Flush() error { - nd, err := kr.GetValue().GetNode() - if err != nil { - return err - } - - if kr.repub != nil { - kr.repub.Update(nd.Cid()) - } - return nil -} - // FlushMemFree flushes the root directory and then uncaches all of its links. // This has the effect of clearing out potentially stale references and allows // them to be garbage collected.