summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorChristoph Hellwig <hch@lst.de>2003-04-01 05:02:55 -0800
committerLinus Torvalds <torvalds@home.transmeta.com>2003-04-01 05:02:55 -0800
commit503aceb1b5f303b54a7210f6df8d628b19c58f01 (patch)
tree6ca56f7f8a1549213879086c38197e07960269b2 /include/linux
parentd52fc0527d40ce99fb95b3fc3d9b942ee1bbaba2 (diff)
[PATCH] remove kdevname() before someone starts using it again
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/fs.h1
-rw-r--r--include/linux/kdev_t.h2
2 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/fs.h b/include/linux/fs.h
index 296ff1212917..5594259b2795 100644
--- a/include/linux/fs.h
+++ b/include/linux/fs.h
@@ -1076,7 +1076,6 @@ extern struct block_device *open_bdev_excl(const char *, int, int, void *);
extern void close_bdev_excl(struct block_device *, int);
extern const char * cdevname(kdev_t);
-extern const char * kdevname(kdev_t);
extern void init_special_inode(struct inode *, umode_t, dev_t);
/* Invalid inode operations -- fs/bad_inode.c */
diff --git a/include/linux/kdev_t.h b/include/linux/kdev_t.h
index b28bce902418..60e286b694c5 100644
--- a/include/linux/kdev_t.h
+++ b/include/linux/kdev_t.h
@@ -101,8 +101,6 @@ static inline kdev_t val_to_kdev(unsigned int val)
#define NODEV (mk_kdev(0,0))
#define B_FREE (mk_kdev(0xff,0xff))
-extern const char * kdevname(kdev_t); /* note: returns pointer to static data! */
-
static inline int kdev_same(kdev_t dev1, kdev_t dev2)
{
return dev1.value == dev2.value;