diff options
author | wpaul <wpaul@FreeBSD.org> | 2001-12-19 18:13:44 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 2001-12-19 18:13:44 +0000 |
commit | e3ec4c1279fbad168e0125c86ec3fb1bd0ab699a (patch) | |
tree | cc31cb9f04df69ac50472d8d88596c48780e7744 /sys/pci | |
parent | 3d7b11bb97ddae0f22c539d82455b491493aef42 (diff) | |
download | FreeBSD-src-e3ec4c1279fbad168e0125c86ec3fb1bd0ab699a.zip FreeBSD-src-e3ec4c1279fbad168e0125c86ec3fb1bd0ab699a.tar.gz |
Fix compiler warning in dc_intr(): if the only code that does a "goto"
to a label is inside an #ifdef block, then the label should *also* be
inside an #ifdef block. Hide the "done:" label which is only used if
DEVICE_POLLING is enabled under #ifdef DEVICE_POLLING.
Diffstat (limited to 'sys/pci')
-rw-r--r-- | sys/pci/if_dc.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/pci/if_dc.c b/sys/pci/if_dc.c index 85002ed..3f73bcb 100644 --- a/sys/pci/if_dc.c +++ b/sys/pci/if_dc.c @@ -2933,7 +2933,10 @@ static void dc_intr(arg) if (ifp->if_snd.ifq_head != NULL) dc_start(ifp); +#ifdef DEVICE_POLLING done: +#endif /* DEVICE_POLLING */ + DC_UNLOCK(sc); return; |