oomkiller: Suppress unused lint for recordPressure on non-darwin platforms

This commit is contained in:
世界
2026-09-03 13:30:52 +08:00
parent e4a19a2a7c
commit 5c7467aaba
+1
View File
@@ -324,6 +324,7 @@ func (r *Recorder) sample(sample memorySample, state pressureState, connections
r.chown(timelinePath)
}
//nolint:unused
func (r *Recorder) recordPressure(sample memorySample) {
r.access.Lock()
defer r.access.Unlock()