summaryrefslogtreecommitdiffstats
path: root/drivers/char/rio/qbuf.h
diff options
context:
space:
mode:
authorAlan Cox <alan@lxorguk.ukuu.org.uk>2006-02-03 12:04:07 +0100
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-03 17:32:04 +0100
commit84542838a3829f34630c589c1eb570656c455a1c (patch)
tree401218ce579c354427522d116f67d0bc1cb706ed /drivers/char/rio/qbuf.h
parent[PATCH] make "struct d_cookie" depend on CONFIG_PROFILING (diff)
downloadlinux-84542838a3829f34630c589c1eb570656c455a1c.tar.xz
linux-84542838a3829f34630c589c1eb570656c455a1c.zip
[PATCH] rio cleanups
INKERNEL is always defined HOST is never defined therefore RTA is also never defined Strip the relevant garbage out of the headers on this basis. Signed-off-by: Alan Cox <alan@redhat.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'drivers/char/rio/qbuf.h')
-rw-r--r--drivers/char/rio/qbuf.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/char/rio/qbuf.h b/drivers/char/rio/qbuf.h
index acd9e8e5307d..391ffc335535 100644
--- a/drivers/char/rio/qbuf.h
+++ b/drivers/char/rio/qbuf.h
@@ -46,11 +46,7 @@ static char *_rio_qbuf_h_sccs = "@(#)qbuf.h 1.1";
-#ifdef HOST
-#define PKTS_PER_BUFFER 1
-#else
#define PKTS_PER_BUFFER (220 / PKT_LENGTH)
-#endif
typedef struct Q_BUF Q_BUF;
struct Q_BUF {