Page MenuHomeFreeBSD

hwpmc: Fix compile warning
ClosedPublic

Authored by np on Apr 7 2026, 8:07 PM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Oct 5, 1:40 AM
Unknown Object (File)
Sun, Oct 4, 1:34 AM
Unknown Object (File)
Thu, Oct 1, 10:19 AM
Unknown Object (File)
Tue, Sep 29, 11:39 AM
Unknown Object (File)
Thu, Sep 24, 6:31 PM
Unknown Object (File)
Thu, Sep 24, 5:02 PM
Unknown Object (File)
Thu, Sep 24, 4:47 PM
Unknown Object (File)
Tue, Sep 22, 5:28 PM
Subscribers
None

Details

Summary

.../sys/dev/hwpmc/hwpmc_mod.c:4640:1: warning: unused function 'pmc_is_multipart' [-Wunused-function]
4640 | pmc_is_multipart(struct pmc_sample *ps)

| ^~~~~~~~~~~~~~~~

1 warning generated.

Fixes: e51ef8ae490f - main - hwpmc: Initial support for AMD IBS
Sponsored by: Chelsio Communications

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

np requested review of this revision.Apr 7 2026, 8:07 PM

@ali_mashtizadeh.com is it likely to be used in the near future?

This revision is now accepted and ready to land.Apr 9 2026, 4:00 PM
This revision was automatically updated to reflect the committed changes.