From effae71aead6b3938bbb084dcc3b4b5449c49b1f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tin=20=C5=A0vagelj?= Date: Sat, 16 Nov 2024 04:49:17 +0100 Subject: [PATCH] Remove clear_diskio_stats stub MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit They need to be removed because it's a leak not to do so even if they're not used. OpenBSD doesn't guard their creation. Signed-off-by: Tin Å vagelj --- src/openbsd.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/openbsd.cc b/src/openbsd.cc index 94fa68ecf..f55a595d5 100644 --- a/src/openbsd.cc +++ b/src/openbsd.cc @@ -654,8 +654,6 @@ void update_wifi_stats() } #endif -void clear_diskio_stats() {} - int update_diskio() { return 0; /* XXX: implement? hifi: not sure how */ } /* While topless is obviously better, top is also not bad. */