Browse code

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]: https://github.com/moby/moby/commit/ea301133039d9852455893a4ada1ab887ebe8459
[libnetwork@1d6f2c5]: https://github.com/moby/libnetwork/commit/1d6f2c59c46fa6533d8cbf3d648f001a5da7c19c

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>

Sebastiaan van Stijn authored on 2025/10/19 21:02:59
Showing 2 changed files
... ...
@@ -32,7 +32,6 @@ const (
32 32
 
33 33
 type driver struct {
34 34
 	networks map[string]*network
35
-	sync.Once
36 35
 	sync.Mutex
37 36
 	store *datastore.Store
38 37
 }
... ...
@@ -26,7 +26,6 @@ const (
26 26
 
27 27
 type driver struct {
28 28
 	networks map[string]*network
29
-	sync.Once
30 29
 	sync.Mutex
31 30
 	store *datastore.Store
32 31
 }