Skip to content

Commit

Permalink
Remove clear_diskio_stats stub
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
Caellian committed Nov 16, 2024
1 parent 7fc6c69 commit effae71
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/openbsd.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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. */
Expand Down

0 comments on commit effae71

Please sign in to comment.