init: remove the bstat helper
[linux-2.6-block.git] / init / do_mounts.h
index 0bb0806de4ce2cc1023c8a39eb4133a3f4b5ee8d..7513d1c14d13fe2f5c9072a8929b41d70f0c1f5c 100644 (file)
@@ -20,16 +20,6 @@ static inline int create_dev(char *name, dev_t dev)
        return ksys_mknod(name, S_IFBLK|0600, new_encode_dev(dev));
 }
 
-static inline u32 bstat(char *name)
-{
-       struct kstat stat;
-       if (vfs_stat(name, &stat) != 0)
-               return 0;
-       if (!S_ISBLK(stat.mode))
-               return 0;
-       return stat.rdev;
-}
-
 #ifdef CONFIG_BLK_DEV_RAM
 
 int __init rd_load_disk(int n);