mirror of
https://github.com/moby/moby.git
synced 2026-08-04 23:21:00 +00:00
libnetwork/drivers/macvlan, ipvlan: remove unused sync.Once
Both were added as part of the initial implementation in commit [moby@ea30113] ([libnetwork@1d6f2c5]), but never used. [moby@ea30113]:ea30113303[libnetwork@1d6f2c5]:1d6f2c59c4Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
@@ -32,7 +32,6 @@ const (
|
||||
|
||||
type driver struct {
|
||||
networks map[string]*network
|
||||
sync.Once
|
||||
sync.Mutex
|
||||
store *datastore.Store
|
||||
}
|
||||
|
||||
@@ -26,7 +26,6 @@ const (
|
||||
|
||||
type driver struct {
|
||||
networks map[string]*network
|
||||
sync.Once
|
||||
sync.Mutex
|
||||
store *datastore.Store
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user