mirror of
https://github.com/opnsense/src.git
synced 2026-04-15 14:29:58 -04:00
asmc: plug set-but-not-unused vars
Sponsored by: Rubicon Communications, LLC ("Netgate")
This commit is contained in:
parent
fa5af3219f
commit
e02d0cab7b
1 changed files with 4 additions and 0 deletions
|
|
@ -847,12 +847,16 @@ asmc_wait_ack(device_t dev, uint8_t val, int amount)
|
|||
static int
|
||||
asmc_wait(device_t dev, uint8_t val)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
struct asmc_softc *sc;
|
||||
#endif
|
||||
|
||||
if (asmc_wait_ack(dev, val, 1000) == 0)
|
||||
return (0);
|
||||
|
||||
#ifdef DEBUG
|
||||
sc = device_get_softc(dev);
|
||||
#endif
|
||||
val = val & ASMC_STATUS_MASK;
|
||||
|
||||
#ifdef DEBUG
|
||||
|
|
|
|||
Loading…
Reference in a new issue