Remove a bunch of unused (NO-OP) #if NFOO > 0 type includes and some

#include "foo.h" headers.
This commit is contained in:
peter 2000-01-29 16:17:36 +00:00
parent 161b5ec3e8
commit dfabf6fde1
18 changed files with 0 additions and 63 deletions

View File

@ -35,9 +35,6 @@
* $FreeBSD$
*/
#include "npx.h"
#if NNPX > 0
#include "opt_debug_npx.h"
#include "opt_math_emulate.h"
@ -929,5 +926,3 @@ static devclass_t npx_devclass;
* doesn't describe the processor as being `on isa'.
*/
DRIVER_MODULE(npx, nexus, npx_driver, npx_devclass, 0, 0);
#endif /* NNPX > 0 */

View File

@ -35,9 +35,6 @@
* $FreeBSD$
*/
#include "npx.h"
#if NNPX > 0
#include "opt_debug_npx.h"
#include "opt_math_emulate.h"
@ -929,5 +926,3 @@ static devclass_t npx_devclass;
* doesn't describe the processor as being `on isa'.
*/
DRIVER_MODULE(npx, nexus, npx_driver, npx_devclass, 0, 0);
#endif /* NNPX > 0 */

View File

@ -62,7 +62,6 @@
#include "pci.h"
#include "lnc.h"
#if NLNC > 0
#include "opt_inet.h"
@ -2021,5 +2020,3 @@ mbuf_dump_chain(struct mbuf * m)
} while ((m = m->m_next) != NULL);
}
#endif
#endif

View File

@ -45,7 +45,6 @@
static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
#include "mcd.h"
#if NMCD > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
@ -1832,5 +1831,3 @@ mcd_resume(int unit)
return EINVAL;
return mcd_play(unit, &cd->lastpb);
}
#endif /* NMCD > 0 */

View File

@ -45,7 +45,6 @@
*/
#include "mse.h"
#if NMSE > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
@ -767,5 +766,3 @@ mse_getati(port, dx, dy, but)
outb(port + MSE_PORTA, MSE_INPORT_MODE);
outb(port + MSE_PORTB, MSE_INPORT_INTREN);
}
#endif /* NMSE */

View File

@ -26,9 +26,6 @@
* $FreeBSD$
*/
#include "mca.h"
#if NMCA > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@ -159,4 +156,3 @@ mca_bus_nmi (void)
return (retval);
}
#endif

View File

@ -38,7 +38,6 @@
*/
#include "asc.h"
#if NASC > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
@ -877,5 +876,3 @@ ascpoll(dev_t dev, int events, struct proc *p)
splx(sps);
return 0;
}
#endif /* NASC > 0 */

View File

@ -109,7 +109,6 @@
*/
#include "ctx.h"
#if NCTX > 0
#include <sys/param.h>
#include <sys/systm.h>
@ -449,5 +448,3 @@ waitvb(int port)
return (0);
}
#endif /* NCTX > 0 */

View File

@ -21,7 +21,6 @@
#undef DEBUG
#include "cx.h"
#if NCX > 0
#include <sys/param.h>
#include <sys/systm.h>
@ -954,4 +953,3 @@ SYSINIT(cxdev,SI_SUB_DRIVERS,SI_ORDER_MIDDLE+CDEV_MAJOR,cx_drvinit,NULL)
#endif
#endif /* NCX */

View File

@ -21,10 +21,6 @@
*/
/*Please read the README file for usage information*/
#include "gp.h"
#if NGP > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
@ -1160,5 +1156,3 @@ outb(CDOR,95); /*untalk*/
}
#endif /* NGPIB > 0 */

View File

@ -36,7 +36,6 @@
*/
#include "gsc.h"
#if NGSC > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
@ -830,5 +829,3 @@ gscioctl (dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p)
default: return ENOTTY;
}
}
#endif /* NGSC > 0 */

View File

@ -36,7 +36,6 @@
*/
#include "le.h"
#if NLE > 0
#include "opt_inet.h"
#include "opt_ipx.h"
@ -2037,4 +2036,3 @@ lance_tx_intr(
return xmits;
}
#endif /* !defined(LE_NOLANCE) */
#endif /* NLE > 0 */

View File

@ -62,7 +62,6 @@
#include "pci.h"
#include "lnc.h"
#if NLNC > 0
#include "opt_inet.h"
@ -2021,5 +2020,3 @@ mbuf_dump_chain(struct mbuf * m)
} while ((m = m->m_next) != NULL);
}
#endif
#endif

View File

@ -26,9 +26,6 @@
* $FreeBSD$
*/
#include "mca.h"
#if NMCA > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/kernel.h>
@ -159,4 +156,3 @@ mca_bus_nmi (void)
return (retval);
}
#endif

View File

@ -45,7 +45,6 @@
static const char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore";
#include "mcd.h"
#if NMCD > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
@ -1832,5 +1831,3 @@ mcd_resume(int unit)
return EINVAL;
return mcd_play(unit, &cd->lastpb);
}
#endif /* NMCD > 0 */

View File

@ -45,7 +45,6 @@
*/
#include "mse.h"
#if NMSE > 0
#include <sys/param.h>
#include <sys/systm.h>
#include <sys/conf.h>
@ -767,5 +766,3 @@ mse_getati(port, dx, dy, but)
outb(port + MSE_PORTA, MSE_INPORT_MODE);
outb(port + MSE_PORTB, MSE_INPORT_INTREN);
}
#endif /* NMSE */

View File

@ -35,9 +35,6 @@
* $FreeBSD$
*/
#include "npx.h"
#if NNPX > 0
#include "opt_debug_npx.h"
#include "opt_math_emulate.h"
@ -929,5 +926,3 @@ static devclass_t npx_devclass;
* doesn't describe the processor as being `on isa'.
*/
DRIVER_MODULE(npx, nexus, npx_driver, npx_devclass, 0, 0);
#endif /* NNPX > 0 */

View File

@ -47,7 +47,6 @@
*/
#include "spigot.h"
#if NSPIGOT > 0
#if NSPIGOT > 1
error "Can only have 1 spigot configured."
@ -278,5 +277,3 @@ struct spigot_softc *ss = (struct spigot_softc *)&spigot_softc[0];
return i386_btop(ss->maddr);
}
#endif /* NSPIGOT */