diff --git a/sys/sys/buf.h b/sys/sys/buf.h index f71c88c82d4..3055cd483e6 100644 --- a/sys/sys/buf.h +++ b/sys/sys/buf.h @@ -457,7 +457,7 @@ buf_countdeps(struct buf *bp, int i) } static __inline void -buf_track(struct buf *bp, const char *location) +buf_track(struct buf *bp __unused, const char *location __unused) { #if defined(FULL_BUF_TRACKING)