cmi: Mark rsp as unused.

If the DEB macro is manually enabled to enable tracing then this
variable is used.  This doesn't use __diagused since it is dependent
on a non-standard debugging macro.
This commit is contained in:
John Baldwin 2022-04-06 16:45:27 -07:00
parent 30cac8e3bb
commit 546629073d

View File

@ -421,7 +421,7 @@ cmichan_setspeed(kobj_t obj, void *data, u_int32_t speed)
{
struct sc_chinfo *ch = data;
struct sc_info *sc = ch->parent;
u_int32_t r, rsp;
u_int32_t r, rsp __unused;
r = cmpci_rate_to_regvalue(speed);
snd_mtxlock(sc->lock);