summaryrefslogtreecommitdiffhomepage
path: root/device/misc.go
diff options
context:
space:
mode:
Diffstat (limited to 'device/misc.go')
-rw-r--r--device/misc.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/device/misc.go b/device/misc.go
index 2c2510f..4126704 100644
--- a/device/misc.go
+++ b/device/misc.go
@@ -39,10 +39,3 @@ func (a *AtomicBool) Set(val bool) {
}
atomic.StoreInt32(&a.int32, flag)
}
-
-func min(a, b uint) uint {
- if a > b {
- return b
- }
- return a
-}