Page MenuHomeFreeBSD

hwpmc: Fix compile warning
ClosedPublic

Authored by np on Tue, Apr 7, 8:07 PM.
Tags
None
Referenced Files
F152640535: D56296.diff
Thu, Apr 16, 5:10 AM
F152631418: D56296.diff
Thu, Apr 16, 3:33 AM
Unknown Object (File)
Wed, Apr 15, 5:06 AM
Unknown Object (File)
Fri, Apr 10, 2:50 PM
Unknown Object (File)
Thu, Apr 9, 5:41 PM
Unknown Object (File)
Tue, Apr 7, 8:30 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.Tue, Apr 7, 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.Thu, Apr 9, 4:00 PM
This revision was automatically updated to reflect the committed changes.