mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +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:
parent
faee270315
commit
d9700bb5b5
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=88213
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user