1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00

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.
This commit is contained in:
Bill Paul 2001-12-19 18:13:44 +00:00
parent faee270315
commit d9700bb5b5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88213
2 changed files with 6 additions and 0 deletions

View File

@ -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;

View File

@ -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;