diff options
| author | Alexander Viro <viro@www.linux.org.uk> | 2003-09-04 20:53:56 -0700 |
|---|---|---|
| committer | Linus Torvalds <torvalds@home.osdl.org> | 2003-09-04 20:53:56 -0700 |
| commit | cbac67b10e48a7a76485d405fc723084fdafb6a1 (patch) | |
| tree | 0d2c7e453d732e38766e74388c903efc37e50021 /include/linux | |
| parent | 25a6ca892403f9d5dc2e1ed28db13e31b9fea2d2 (diff) | |
[PATCH] large dev_t - second series (6/15)
tty redirect handling sanitized. Such ttys (/dev/tty and
/dev/console) get a different file_operations; its ->write() handles
redirects; checks for file->f_op == &tty_fops updated, checks for
major:minor being that of a redirector replaced with check for
->f_op->write value. Piece of code in tty_io.c that had been #if 0
since 0.99<something> had been finally put out of its misery. kdev_val()
is gone.
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/kdev_t.h | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/include/linux/kdev_t.h b/include/linux/kdev_t.h index 900a4a1e1282..64a88b3b194a 100644 --- a/include/linux/kdev_t.h +++ b/include/linux/kdev_t.h @@ -80,16 +80,6 @@ typedef struct { #define mk_kdev(major, minor) ((kdev_t) { __mkdev(major,minor) } ) -/* - * The "values" are just _cookies_, usable for - * internal equality comparisons and for things - * like NFS filehandle conversion. - */ -static inline unsigned int kdev_val(kdev_t dev) -{ - return dev.value; -} - #define NODEV (mk_kdev(0,0)) /* Mask off the high bits for now.. */ |
