diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-18 21:15:16 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2010-11-18 21:15:16 +0000 |
commit | d76fbed9b047b0950393d391f27749a20f6ec68a (patch) | |
tree | 02818a590fe865434e018b19d1bb8ca0c5b4c1f4 /sys/dev/ic/cy.c | |
parent | be90184410fe8aaf59012f30ea8aabcf3e8e800b (diff) |
Don't
#include "foo.h"
#if NFOO > 0
(whole file)
#endif
since config(8) file inclusion rules already do it for you.
ok deraadt@
Diffstat (limited to 'sys/dev/ic/cy.c')
-rw-r--r-- | sys/dev/ic/cy.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/dev/ic/cy.c b/sys/dev/ic/cy.c index afc7bef9c5c..8a2cf8712e7 100644 --- a/sys/dev/ic/cy.c +++ b/sys/dev/ic/cy.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cy.c,v 1.32 2010/07/02 17:27:01 nicm Exp $ */ +/* $OpenBSD: cy.c,v 1.33 2010/11/18 21:15:15 miod Exp $ */ /* * Copyright (c) 1996 Timo Rossi. * All rights reserved. @@ -50,10 +50,6 @@ * */ -/* NCY is the number of Cyclom cards in the machine */ -#include "cy.h" -#if NCY > 0 - #include <sys/types.h> #include <sys/param.h> #include <sys/ioctl.h> @@ -1418,5 +1414,3 @@ cy_speed(speed_t speed, int *cor, int *bpr, int cy_clock) return (-1); } - -#endif /* NCY > 0 */ |