summaryrefslogtreecommitdiff
path: root/include/linux/cdev.h
diff options
context:
space:
mode:
authorNamhyung Kim <[email protected]>2011-01-12 17:00:37 -0800
committerLinus Torvalds <[email protected]>2011-01-13 08:03:17 -0800
commite6d7202b66d99bf514c8e901db68386b1fcd6d56 (patch)
tree2e01041b3173c2d1ce511643c04466c9e1f066db /include/linux/cdev.h
parentceff1a770933e2ca2bf995b453dade4ec47a9878 (diff)
fs/char_dev.c: remove unused cdev_index()
Commit 66fa12c571d3 ("ieee1394: remove the old IEEE 1394 driver stack") eliminated the only user of cdev_index(). So it can be removed too. Signed-off-by: Namhyung Kim <[email protected]> Cc: Stefan Richter <[email protected]> Cc: Theodore Ts'o <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'include/linux/cdev.h')
-rw-r--r--include/linux/cdev.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/cdev.h b/include/linux/cdev.h
index f389e319a454..fb4591977b03 100644
--- a/include/linux/cdev.h
+++ b/include/linux/cdev.h
@@ -28,8 +28,6 @@ int cdev_add(struct cdev *, dev_t, unsigned);
void cdev_del(struct cdev *);
-int cdev_index(struct inode *inode);
-
void cd_forget(struct inode *);
extern struct backing_dev_info directly_mappable_cdev_bdi;