summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Viro <viro@math.psu.edu>2002-10-31 19:26:43 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2002-10-31 19:26:43 -0800
commitcaeff901cdb2912104e9b14b4949398958b70c30 (patch)
treec3b3d21a3c2c2d4886877a5879d63adec45df726 /include
parente2e442ebcba531a5cb985f2becda8c60d1183c01 (diff)
[PATCH] death of ->rq_dev
RIP. It's not used anymore, so we kill assignments to it and the field itself. That was the last serious use of kdev_t in block drivers.
Diffstat (limited to 'include')
-rw-r--r--include/linux/blkdev.h1
-rw-r--r--include/linux/kdev_t.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/include/linux/blkdev.h b/include/linux/blkdev.h
index e771e183891e..9f84bcbf0c59 100644
--- a/include/linux/blkdev.h
+++ b/include/linux/blkdev.h
@@ -47,7 +47,6 @@ struct request {
* blkdev_dequeue_request! */
unsigned long flags; /* see REQ_ bits below */
- kdev_t rq_dev;
sector_t sector;
unsigned long nr_sectors;
unsigned int current_nr_sectors;
diff --git a/include/linux/kdev_t.h b/include/linux/kdev_t.h
index c5ca0c2061ff..b28bce902418 100644
--- a/include/linux/kdev_t.h
+++ b/include/linux/kdev_t.h
@@ -36,7 +36,7 @@ typedef struct { unsigned short major, minor; } kdev_t;
Admissible operations on an object of type kdev_t:
- passing it along
- comparing it for equality with another such object
-- storing it in inode->i_rdev, req->rq_dev, de->dc_dev, tty->device
+- storing it in inode->i_rdev or tty->device
- using its bit pattern as argument in a hash function
- finding its major and minor
- complaining about it