all: Clean up dead code
GitHub-Pull-Request: https://github.com/syncthing/syncthing/pull/3005
This commit is contained in:
committed by
Audrius Butkevicius
parent
dffc34559b
commit
e87c1abd4e
@@ -90,9 +90,8 @@ func (p *deviceFolderDownloadState) NumberOfBlocksInProgress() int {
|
||||
// deviceDownloadState represents the state of all in progress downloads
|
||||
// for all folders of a specific device.
|
||||
type deviceDownloadState struct {
|
||||
mut sync.RWMutex
|
||||
folders map[string]*deviceFolderDownloadState
|
||||
numberOfBlocksInProgress int
|
||||
mut sync.RWMutex
|
||||
folders map[string]*deviceFolderDownloadState
|
||||
}
|
||||
|
||||
// Update updates internal state of what has been downloaded into the temporary
|
||||
|
||||
Reference in New Issue
Block a user